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
I encountered a software crash while loading the SAM model.
Error message:
Traceback (most recent call last):
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\utils.py", line 15, in run
self.func(*self.args, **self.kwargs)
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\model_manager.py", line 438, in _load_model
from .segment_anything import SegmentAnything
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\segment_anything.py", line 20, in
from .sam2_onnx import SegmentAnything2ONNX
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\sam2_onnx.py", line 11, in
class SegmentAnything2ONNX:
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\sam2_onnx.py", line 20, in SegmentAnything2ONNX
def encode(self, cv_image: np.ndarray) -> list[np.ndarray]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Also application crash while loading the SAM model (tried 2 models, which are downloaded from huggingface). My Python version is 3.10.6 (win10). Using the latest standalone-gpu exe ([0.4.8]
I encountered a software crash while loading the SAM model.
Error message:
Traceback (most recent call last):
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\utils.py", line 15, in run
self.func(*self.args, **self.kwargs)
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\model_manager.py", line 438, in _load_model
from .segment_anything import SegmentAnything
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\segment_anything.py", line 20, in
from .sam2_onnx import SegmentAnything2ONNX
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\sam2_onnx.py", line 11, in
class SegmentAnything2ONNX:
File "D:\anaconda\envs\anylabelme\lib\site-packages\anylabeling\services\auto_labeling\sam2_onnx.py", line 20, in SegmentAnything2ONNX
def encode(self, cv_image: np.ndarray) -> list[np.ndarray]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: