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

demo runtime environment issues #8

Open
Leonwu0728 opened this issue Dec 10, 2021 · 3 comments
Open

demo runtime environment issues #8

Leonwu0728 opened this issue Dec 10, 2021 · 3 comments

Comments

@Leonwu0728
Copy link

What version of pytorch is required for the environment? When I run the given demo_letr with version 1.10.0, I get the following error, ImportError: cannot import name '_new_empty_tensor' from 'torchvision.ops'.Is there a compatibility problem with my environment so I can't import it?

@TimingSpace
Copy link

try torch-1.8.0+cu111, torchvision-0.9.0+cu111, works for me;

If you use torch1.10.0, you can remove that "import" to solve your problem, but you will meet other version-related problem later.

@Varat7v2
Copy link

Varat7v2 commented Sep 8, 2022

Thanks. It worked when I downgraded the torch version to 1.8.0+cu111.

@Abbsalehi
Copy link

Abbsalehi commented Jul 5, 2024

fixed in the pull request #28

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

4 participants