juliandewit / kaggle_ndsb2017

Kaggle datascience bowl 2017
MIT License
624 stars 290 forks source link

AttributeError: 'NoneType' object has no attribute 'reshape' in helpers.py #41

Closed sathyapatel closed 6 years ago

sathyapatel commented 6 years ago

I am facing error, when i run this function in step1_preprocess_luna16.py if True: process_pos_annotations_patient2() process_excluded_annotations_patients(only_patient=None)

error:

File "C:\Users\Sangryal\Downloads\sathya\kaggle_ndsb2017\kaggle_ndsb2017-master\helpers.py", line 77, in load_patient_images images = [im.reshape((1,) + im.shape) for im in images] File "C:\Users\Sangryal\Downloads\sathya\kaggle_ndsb2017\kaggle_ndsb2017-master\helpers.py", line 77, in images = [im.reshape((1,) + im.shape) for im in images] AttributeError: 'NoneType' object has no attribute 'reshape'