Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'bbox_1024_center_inf' referenced before assignmen #30

Closed
cryudetao opened this issue Jul 28, 2024 · 1 comment

Comments

@cryudetao
Copy link

Traceback (most recent call last):
File "E:/MedSAMSlicer-0.1/MedSAM/MedSAMLite/MedSAMLite.py", line 242, in
self.ui.pbSegment.connect('clicked(bool)', lambda: self.logic.applySegmentation())
File "E:/MedSAMSlicer-0.1/MedSAM/MedSAMLite/MedSAMLite.py", line 727, in applySegmentation
segmentation_mask = self.inferSegmentation()
File "E:/MedSAMSlicer-0.1/MedSAM/MedSAMLite/MedSAMLite.py", line 681, in inferSegmentation
seg_data = self.backend.infer(slice_idx, bbox, zrange)
File "e:\medsamslicer-0.1\medsam\medsamlite\resources\server_essentials\medsam_interface\interface_impl.py", line 288, in infer
bbox_1024_prev = bbox_1024_center_inf
UnboundLocalError: local variable 'bbox_1024_center_inf' referenced before assignmen

@rasakereh
Copy link
Collaborator

(The latest release)[https://github.com/bowang-lab/MedSAMSlicer/releases/tag/v0.11] has addressed this issue along with a handful of interesting new features. Try it out and lmk if error is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants