bingogome / samm

A 3D Slicer integration to Meta's SAM.
https://arxiv.org/abs/2304.05622
MIT License
241 stars 34 forks source link

Error segmented_slc55 #32

Closed mohp1-data closed 1 year ago

mohp1-data commented 1 year ago

Hi, I am getting this error: ERROR:root:Traceback (most recent call last): File "C:\Users\mohpe\samm\samm-python-terminal\sam_server.py", line 272, in main srv.infer_image( \ File "C:\Users\mohpe\samm\samm-python-terminal\sam_server.py", line 183, in infer_image self.load_feature(os.path.join(self.workspace, "segmentedimages", "segmented" + image_name + ".pkl")) File "C:\Users\mohpe\samm\samm-python-terminal\sam_server.py", line 165, in load_feature with open(self.feature_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\mohpe\samm\samm-python-terminal\samm-workspace\segmented_images\segmented_slc55.pkl'

bingogome commented 1 year ago

Could you refer to this issue #31 to see if it's relevant?

mohp1-data commented 1 year ago

I clicked compute embedding and I am getting this error in python console: Traceback (most recent call last): File "C:\Users\mohpe\samm\samm\SammBase\SammBaseLib\LogicSamm.py", line 217, in processStartMaskSync self._segNumpy[curslc,:,:] = memmap.astype(int) IndexError: index 112 is out of bounds for axis 0 with size 112

bingogome commented 1 year ago

It's hard to reproduce the error on my side. Would you be interested in a Zoom meeting? Shoot me an email at yliu333@jhu.edu

bingogome commented 1 year ago

Met and reproduced with not enough VRAM