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

undefined variable error #3

Closed
henry174Ajou opened this issue Apr 28, 2022 · 1 comment
Closed

undefined variable error #3

henry174Ajou opened this issue Apr 28, 2022 · 1 comment

Comments

@henry174Ajou
Copy link

In "utils.py", modules of Torch Vision are imported by from torchvision import datasets, transforms.

However, in the line 106 of the same file, these modules are referred to by torchvision.datasets, but there is no variable named by torchvision.

I fixed it by rewrite the import statement by just import torchvision. Now it works.

@vaseline555
Copy link
Owner

Thank you for your report!
FYI, this repository will be changed into new one (i.e., ver 2.0) as soon.
Thank 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

2 participants