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'm observing the following traceback upon switching to the SegmentAny3D module. I'm currently using the latest Slicer Preview (5.7.0-2024-03-13) on Windows.
Traceback (most recent call last):
File "C:/D/SlicerSegmentAny3D/SegmentAny3D/SegmentAny3D.py", line 154, in __init__
from models.sam import sam_model_registry as sab_model_registry
File "C:\D\SlicerSegmentAny3D\SegmentAny3D\models\sam\__init__.py", line 7, in <module>
from .build_sam import (
File "C:\D\SlicerSegmentAny3D\SegmentAny3D\models\sam\build_sam.py", line 11, in <module>
from .modeling import (
File "C:\D\SlicerSegmentAny3D\SegmentAny3D\models\sam\modeling\__init__.py", line 7, in <module>
from .sam import Sam
File "C:\D\SlicerSegmentAny3D\SegmentAny3D\models\sam\modeling\sam.py", line 13, in <module>
from .image_encoder import ImageEncoderViT
File "C:\D\SlicerSegmentAny3D\SegmentAny3D\models\sam\modeling\image_encoder.py", line 10, in <module>
from einops import rearrange
ModuleNotFoundError: No module named 'einops'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/D/SlicerSegmentAny3D/SegmentAny3D/SegmentAny3D.py", line 159, in __init__
raise RuntimeError("There is a problem about the installation of 'segment-anything' package. Please try again to install!")
RuntimeError: There is a problem about the installation of 'segment-anything' package. Please try again to install!
I'm observing the following traceback upon switching to the SegmentAny3D module. I'm currently using the latest Slicer Preview (5.7.0-2024-03-13) on Windows.
It appears that in this section that
from models.sam import sam_model_registry as sab_model_registry
fails because it happens before importingeinops
.https://github.com/mazurowski-lab/SlicerSegmentAny3D/blob/e33d0af23ef6d6458a95074b47374a2697582209/SegmentAny3D/SegmentAny3D.py#L153-L157
The text was updated successfully, but these errors were encountered: