File "/home/mukbad/anaconda3/envs/mypyt/lib/python3.9/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 48, in producer
item = transform(item)
File "/home/mukbad/anaconda3/envs/mypyt/lib/python3.9/site-packages/batchgenerators/transforms/abstract_transforms.py", line 88, in call
data_dict = t(data_dict)
File "/mnt/d/PycharmProjects/UNetPlusPlus/nnunet/training/data_augmentation/downsampling.py", line 83, in call
data_dict[self.output_key] = downsample_seg_for_ds_transform2(data_dict[self.input_key], self.ds_scales, self.order,
File "/mnt/d/PycharmProjects/UNetPlusPlus/nnunet/training/data_augmentation/downsampling.py", line 103, in downsample_seg_for_ds_transform2
out_seg[b, c] = resize_segmentation(seg[b, c], new_shape[2:], order, cval)
TypeError: resize_segmentation() takes from 2 to 3 positional arguments but 4 were given
File "/home/mukbad/anaconda3/envs/mypyt/lib/python3.9/site-packages/batchgenerators/dataloading/multi_threaded_augmenter.py", line 48, in producer item = transform(item) File "/home/mukbad/anaconda3/envs/mypyt/lib/python3.9/site-packages/batchgenerators/transforms/abstract_transforms.py", line 88, in call data_dict = t(data_dict) File "/mnt/d/PycharmProjects/UNetPlusPlus/nnunet/training/data_augmentation/downsampling.py", line 83, in call data_dict[self.output_key] = downsample_seg_for_ds_transform2(data_dict[self.input_key], self.ds_scales, self.order, File "/mnt/d/PycharmProjects/UNetPlusPlus/nnunet/training/data_augmentation/downsampling.py", line 103, in downsample_seg_for_ds_transform2 out_seg[b, c] = resize_segmentation(seg[b, c], new_shape[2:], order, cval) TypeError: resize_segmentation() takes from 2 to 3 positional arguments but 4 were given