MzeroMiko / VMamba

VMamba: Visual State Space Models,code is based on mamba
MIT License
2.22k stars 145 forks source link

Question About 'CrossScan' #327

Open yuyn133 opened 2 weeks ago

yuyn133 commented 2 weeks ago

when i tried to run vmambacheck.py files, there 's a error ImportError: cannot import name 'CrossScan, CrossMerge, CrossScan_Ab_1direction, CrossMerge_Ab_1direction, CrossScan_Ab_2direction, CrossMerge_Ab_2direction, getCSM' from 'vmamba'_,and i don't find these class. Another question is when run vmamba.py, there is a _AttributeError: module 'torch' has no attribute 'dynamo' error. could you tell how to solve these problem?

yuyn133 commented 2 weeks ago

for the 2th erro, i use torch=2.0.0

yuyn133 commented 2 weeks ago

now, when i try to import torch.dynamo,then there is anthor error : AttributeError: module 'torch._dynamo' has no attribute 'device_interface'_

MzeroMiko commented 2 weeks ago

For environment: https://github.com/MzeroMiko/VMamba/issues/308#issuecomment-2391397017 Also, vmamba_check.py do not affect the model, some functions or classes imported in that may have been deprecated. Follow the instructions in readme.md or releases page should be ok.

yuyn133 commented 2 weeks ago

For environment: #308 (comment) Also, vmamba_check.py do not affect the model, some functions or classes imported in that may have been deprecated. Follow the instructions in readme.md or releases page should be ok.

thx bro, you're very very gogeous .god bless you