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
Hey @NUS-Tim , I think to use swin transformer v2, you will have to install a nightly build.
I am pretty sure that 0.13.0 does not have Swin V2 models available, and I also can't find it in the release notes for the 0.13.1 version.
Edit: Just confirmed this, Swin V2 is not available in V0.13.1, PR for the SwinV2 was merged later and you can find that here
To install the nightly version, you can follow the PyTorch website, I recommend doing this in a separate environment. (had a quick look at your current environment, and I think conda install pytorch torchvision cudatoolkit=11.3 -c pytorch-nightly command would work for you)
Hi @abhi-glitchhg, sorry for the late reply, I just go back to my lab. I just checked your solution and it works, thanks for your useful and fast reply!
🐛 Describe the bug
I'm trying to import swin transformer v2 as described below:
However, the import failed with an error:
It is weird as I can successfully do this for the swin transformer v1:
Should anyone has any suggestions, pls let me know. Thanks all in advance!
Versions
The text was updated successfully, but these errors were encountered: