Skip to content

cannot import name '_lazy_import' from 'torchvision.extension' #21

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

Closed
scchess opened this issue Sep 15, 2020 · 3 comments
Closed

cannot import name '_lazy_import' from 'torchvision.extension' #21

scchess opened this issue Sep 15, 2020 · 3 comments

Comments

@scchess
Copy link

scchess commented Sep 15, 2020

2_birds_airplanes.ipynb gives the error message. Possibility version mismatch. I'm using 0.4.0. Which version should I be using?

@scchess scchess closed this as completed Sep 15, 2020
@elistevens
Copy link
Member

The book was tested with torch 1.4 and IIRC that implies torchvision 0.5.0. Try those versions?

@scchess
Copy link
Author

scchess commented Sep 15, 2020

Thanks. It worked on 1.4.0 but not the latest version. I downgraded and it worked.

@lantiga
Copy link
Contributor

lantiga commented Sep 15, 2020

@student-t I'm testing with pytorch 1.6.0 and 0.7.0 but I can't reproduce the issue. What is the line that was triggering the error for you?

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