I'm running the tutorial Two-class segmentation to train a model for use in AxonDeepSeg. But when I run ivadomed -c config_microscopy.json, I got the following error massage:
File "C:\Users\ct630\ivadomed_env\lib\site-packages\ivadomed\loader\segmentation_pair.py", line 297, in read_file
img = self.convert_file_to_nifti(filename, extension, is_gt)
File "C:\Users\ct630\ivadomed_env\lib\site-packages\ivadomed\loader\segmentation_pair.py", line 360, in convert_file_to_nifti
_img = np.sum(_img * (.299, .587, .114, 0), axis=-1)
ValueError: operands could not be broadcast together with shapes (744,1154,2) (4,)
Is there a way to solve this problem?
Many thanks!
Hi,
Issue description
I'm running the tutorial Two-class segmentation to train a model for use in AxonDeepSeg. But when I run i
vadomed -c config_microscopy.json
, I got the following error massage:Is there a way to solve this problem? Many thanks!
Current behavior
Expected behavior
### Steps to reproduceEnvironment
System description
Windows
Installed packages
Output of
``` ```pip freeze