christianpayer / MedicalDataAugmentationTool-VerSe

GNU General Public License v3.0
176 stars 81 forks source link

TypeError: '<=' not supported between instances of 'float' and 'NoneType' #26

Open Cherishlu opened 1 year ago

Cherishlu commented 1 year ago

when i run main_spine_localization.py file. I get the simgle import error: TypeError: '<=' not supported between instances of 'float' and 'NoneType' Any help is highly appreciated.

Cherishlu commented 1 year ago

File "/media/brl2022-2/brl2022-2-1/MedicalDataAugmentationTool-VerSe-master/utils/landmark/landmark_statistics.py", line 199, in get_correct_id_per_instance if closest_groundtruth_landmark == groundtruth_landmark and closest_groundtruth_distance <= max_distance: TypeError: '<=' not supported between instances of 'float' and 'NoneType'