Hi there.
In the evaluation step, I've got this error:
File "train.py", line 119, in <module>
intr, unn = calMetric_iou(gt_value, result)
File "./DSAMNet/data_utils.py", line 17, in calMetric_iou
tp = np.sum(np.logical_and(predict == 1, label == 1))
ValueError: operands could not be broadcast together with shapes (16,256,256) (16,64,256,256)
BatchSize is 16 and I use default parameters.
The output of the model (prob) is with the shape: torch.Size([16, 64, 256, 256]) and this is the cause of error.
Hi there.
In the evaluation step, I've got this error:
BatchSize is 16 and I use default parameters.
The output of the model (prob) is with the shape: torch.Size([16, 64, 256, 256]) and this is the cause of error.