zs1314 / Microscopic-Mamba

Offical Pytorch Code for "Microscopic-Mamba: Revealing the Secrets of Microscopic Images with Just 4M Parameters"
29 stars 3 forks source link

selective_scan module ModuleNotFoundError in Python #2

Open Fangsuiyi opened 2 months ago

Fangsuiyi commented 2 months ago

Python interpreter cannot find the module named selective_scan. The code attempts to import selective_scan_fn as selective_scan_fn_v1z and selective_scan_ref as selective_scan_ref_v1 from the selective_scan module, but since the module cannot be found, Python raises a ModuleNotFoundError.

zs1314 commented 2 months ago

I think it might be a version conflict of the causal_conv1d, maybe you can reinstall it.

Saul62 commented 3 weeks ago

Python interpreter cannot find the module named selective_scan. The code attempts to import selective_scan_fn as selective_scan_fn_v1z and selective_scan_ref as selective_scan_ref_v1 from the selective_scan module, but since the module cannot be found, Python raises a ModuleNotFoundError.Python 解释器找不到名为 selective_scan 的模块。该代码尝试将 selective_scan_fn 作为 selective_scan_fn_v1z 导入,selective_scan_ref作为 selective_scan_ref_v1 从 selective_scan 模块导入,但由于找不到该模块,Python 会引发 ModuleNotFoundError。

请问您解决这个问题了吗?我也遇到了