intel / unet

U-Net Biomedical Image Segmentation
Apache License 2.0
303 stars 124 forks source link

SyntaxError: invalid syntax #10

Closed sivajyothi1 closed 4 years ago

sivajyothi1 commented 4 years ago

Hello,

When i start training the model, i'm getting this error.

(decathlon) sivajyothi@cougar-U:~/unet/3D$ python train.py --data_path /home/sivajyothi/unet/3D/data/Task01_BrainTumour/ Traceback (most recent call last): File "train.py", line 19, in from dataloader import DataGenerator File "/home/sivajyothi/unet/3D/dataloader.py", line 352 imgs = np.zeros((self.batch_size, *self.dim, self.n_in_channels)) ^ SyntaxError: invalid syntax

As u said i untar the dataset and provided the path for that.

Task01_Brain Tumour dataset is consisting of imagesTr, labelsTr, imagesTs and a dataset.json file. should i make any changes for preparing the dataset. Can you please help me with this??