MedicalDataAugmentationTool-VerSe icon indicating copy to clipboard operation
MedicalDataAugmentationTool-VerSe copied to clipboard

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

Open Cherishlu opened this issue 1 year ago • 1 comments

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 avatar Mar 06 '23 06:03 Cherishlu

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'

Cherishlu avatar Mar 06 '23 06:03 Cherishlu