Closed Research-Code-123 closed 1 month ago
I'm running into the same error.
Sorry for the late reply. I think it might be a path error. For example, you may need to modify the path in the following code, and also check if there are similar path errors in other files. https://github.com/xhanxu/Mamba3D/blob/077fd1ef95da2fa6318a4e7aa7b992c0aa9af778/models/bimamba_ssm/modules/mamba_simple.py#L20-L21
Dear author:
Have you ever met this bug?
Mamba3D# bash script/run_scratch.sh Traceback (most recent call last): File "main.py", line 1, in
from tools import pretrain_run_net as pretrain
File "/root/Documents/Mamba/Mamba3D/tools/init.py", line 2, in
from .runner import test_net
File "/root/Documents/Mamba/Mamba3D/tools/runner.py", line 5, in
from tools import builder
File "/root/Documents/Mamba/Mamba3D/tools/builder.py", line 8, in
from models import build_model_from_cfg
File "/root/Documents/Mamba/Mamba3D/models/init.py", line 2, in
import models.Mamba3D
File "/root/Documents/Mamba/Mamba3D/models/Mamba3D.py", line 34, in
from .bimamba_ssm.modules.mamba_simple import Mamba
File "/root/Documents/Mamba/Mamba3D/models/bimamba_ssm/modules/mamba_simple.py", line 21, in
from ops.selective_scan_interface import selective_scan_fn, mamba_inner_fn, bimamba_inner_fn, mamba_inner_fn_no_out_proj
ModuleNotFoundError: No module named 'ops'
Thanks