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
根据手册进行了环境配置,在运行过程中报错:
Traceback (most recent call last):
File "main.py", line 4, in
from ISAT.main import main
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/main.py", line 6, in
from ISAT.widgets.mainwindow import MainWindow
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/widgets/mainwindow.py", line 30, in
from ISAT.segment_any.segment_any import SegAny, SegAnyVideo
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/segment_any/segment_any.py", line 7, in
import timm
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/init.py", line 2, in
from .layers import is_scriptable, is_exportable, set_scriptable, set_exportable
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/layers/init.py", line 1, in
from .activations import *
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/layers/activations.py", line 10, in
from torch import nn as nn
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/init.py", line 2, in
from .modules import * # noqa: F403
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/modules/init.py", line 1, in
from .module import Module
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/modules/module.py", line 9, in
from torch._prims_common import DeviceLikeType
ModuleNotFoundError: No module named 'torch._prims_common'
请问如何解决?
The text was updated successfully, but these errors were encountered:
根据手册进行了环境配置,在运行过程中报错:
Traceback (most recent call last):
File "main.py", line 4, in
from ISAT.main import main
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/main.py", line 6, in
from ISAT.widgets.mainwindow import MainWindow
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/widgets/mainwindow.py", line 30, in
from ISAT.segment_any.segment_any import SegAny, SegAnyVideo
File "/home/yxs/DL/dl/SAM/ISAT_with_segment_anything-master/ISAT/segment_any/segment_any.py", line 7, in
import timm
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/init.py", line 2, in
from .layers import is_scriptable, is_exportable, set_scriptable, set_exportable
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/layers/init.py", line 1, in
from .activations import *
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/timm/layers/activations.py", line 10, in
from torch import nn as nn
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/init.py", line 2, in
from .modules import * # noqa: F403
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/modules/init.py", line 1, in
from .module import Module
File "/home/yxs/.conda/envs/isat_env/lib/python3.8/site-packages/torch/nn/modules/module.py", line 9, in
from torch._prims_common import DeviceLikeType
ModuleNotFoundError: No module named 'torch._prims_common'
请问如何解决?
The text was updated successfully, but these errors were encountered: