mist-medical / MIST

MIST: A simple, scalable, and end-to-end framework for 3D medical imaging segmentation.
Apache License 2.0
28 stars 11 forks source link

Error handling for local variable referencing #20

Closed atwam1 closed 7 months ago

atwam1 commented 7 months ago

Receiving error at the preprocessing phase- UnboundLocalError: local variable 'fg_bbox" referenced before assignment. How to troubleshoot this issue? I'm not sure if public users are permitted to access/edit preprocess.py script?

image

aecelaya commented 7 months ago

Can please you send me the dataset (or csv with paths) that causes this error?

aecelaya commented 7 months ago

I think I see where the bug is. I'll patch it and push the latest version.

aecelaya commented 7 months ago

The patch looks like it works. It'll be released tonight.