Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torch version #399

Open
ChenJian7578 opened this issue Jun 15, 2023 · 3 comments
Open

torch version #399

ChenJian7578 opened this issue Jun 15, 2023 · 3 comments

Comments

@ChenJian7578
Copy link

What's the highest version of torch supported? I run on torch=1.11 maybe 1.10. Some operators in torch have changed so that the code cannot run normally.

@setarekhosravi
Copy link

@ChenJian7578 Hi, I think the torch=2.0.0 and the higher ones aren't supported because of PreciseRoIPooling. The highest version which could be used is v1.13.1. I myself use v.1.13.0 to run pytracking.

@joshuasv
Copy link

joshuasv commented Dec 26, 2024

And what version are you using for torchvision?

In my case I am using 0.20.1 but I get an error.

ImportError: cannot import name 'model_urls' from 'torchvision.models.resnet'

@setarekhosravi
Copy link

@joshuasv
I have upgraded my torch and torchvision too and I do not work with this repo anymore, but I think for torchvision>0.13.0 the model_urls is gone.
You should downgrade it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants