Qiming-Huang / ssformer

56 stars 8 forks source link

How to obtain mit_b2.pth? #1

Closed AnupKumarGupta closed 2 years ago

AnupKumarGupta commented 2 years ago

When I try to run the test script, I get the following error.

No such file or directory: '/mnt/DATA-1/DATA-2/Feilong/scformer/models/mit/mit_b2.pth'

How can I obtain the aforementioned .pth file?

Qiming-Huang commented 2 years ago

When I try to run the test script, I get the following error.

No such file or directory: '/mnt/DATA-1/DATA-2/Feilong/scformer/models/mit/mit_b2.pth'

How can I obtain the aforementioned .pth file?

thanks for submitting this issue. You can download mit_b2.pth from this link

lzz2131 commented 2 years ago

when I try to run the train.py, I get the following error about all layernorm. AttributeError: 'LayerNorm' object has no attribute 'affine' How can I slove it?

Qiming-Huang commented 2 years ago

when I try to run the train.py, I get the following error about all layernorm. AttributeError: 'LayerNorm' object has no attribute 'affine' How can I slove it?

id4su commented 2 years ago

When I run the test.py,I get following error,can you give me this model's link? No such file or directory: '/mnt/DATA-1/DATA-2/Feilong/scformer/models/mit/mit_b4.pth

Qiming-Huang commented 2 years ago

when I try to run the train.py, I get the following error about all layernorm. AttributeError: 'LayerNorm' object has no attribute 'affine' How can I slove it?

  • you may try this: pip install thop-0.0.31.post2005241907-py3-none-any.whl . ref

check the uploaded requirements.txt and try to install the packages on the same version.