hust-linyi / A-Two-Stage-Convolutional-Neural-Network-for-Pulmonary-Embolism-Detection-From-CTPA-Images

12 stars 4 forks source link

Bugs in savenpy function in preprocess.py #1

Closed MrPrajwalB closed 4 years ago

MrPrajwalB commented 4 years ago

The variables dilatedMask, bone_thresh and pad_value are used before declaration. Please fix the code from lines 127-130 in preprocess.py

hust-linyi commented 4 years ago

The variables dilatedMask, bone_thresh and pad_value are used before declaration. Please fix the code from lines 127-130 in preprocess.py

@MrPrajwalB I have commented out the code cause I did not use it. You can set bone_thresh and pad_value according to your own data (e.g. 300 and 170 on our data). Thanks!