You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bounding boxes are converted to ndarray when resized in sam_inference.py (line 234), then unsqueeze is called later as if they are still tensors (line 251). Tested locally by removing the np.array(...) in line 234, and it seems to work - can create a PR if that is helpful.
Bounding boxes are converted to ndarray when resized in sam_inference.py (line 234), then unsqueeze is called later as if they are still tensors (line 251). Tested locally by removing the
np.array(...)
in line 234, and it seems to work - can create a PR if that is helpful.cellSAM/cellSAM/sam_inference.py
Lines 230 to 251 in a034a51
The text was updated successfully, but these errors were encountered: