sneddy / pneumothorax-segmentation

SIIM-ACR Pneumothorax Segmentation first place solution
https://www.kaggle.com/c/siim-acr-pneumothorax-segmentation
MIT License
316 stars 84 forks source link

train_config_part0.yaml #6

Closed Seema3996 closed 4 years ago

Seema3996 commented 4 years ago

Hi @sneddy I am trying to implement your model. It works fine until this line python Train.py experiments/albunet_valid/train_config_part0.yaml. On running this it gives an error as Nonetype object has no attribute shape. I think that the dataset is not being served. I have made changes to the path in Pneumadataset.py as well as the DATA_DIRECTORY in train_config_part0.yaml to my path and run the Train.pyfile. But it still doesn't work. Am I missing out on anything? It might be a silly error but any help would be appreciated. Attaching the screenshot of the error error

sneddy commented 4 years ago

Hi @sneddy I am trying to implement your model. It works fine until this line python Train.py experiments/albunet_valid/train_config_part0.yaml. On running this it gives an error as Nonetype object has no attribute shape. I think that the dataset is not being served. I have made changes to the path in Pneumadataset.py as well as the DATA_DIRECTORY in train_config_part0.yaml to my path and run the Train.pyfile. But it still doesn't work. Am I missing out on anything? It might be a silly error but any help would be appreciated. Attaching the screenshot of the error error

Seems like you don't put input folder to right place

Seema3996 commented 4 years ago

Thank you for your response! Yes, that might be the problem. I have my input folder outside the pneumothorax-segmentation folder rest of the file structure is the same. I did add the exact paths to the files but still, I will put all the folders exactly in the places as shown in the file structure and see if it works.