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

when load the MNIST, the NoneType error occured #6

Open
CJ0109 opened this issue Mar 3, 2022 · 3 comments
Open

when load the MNIST, the NoneType error occured #6

CJ0109 opened this issue Mar 3, 2022 · 3 comments

Comments

@CJ0109
Copy link

CJ0109 commented Mar 3, 2022

I follow the tutorial load the "torchvision MNIST", the NoneType error occured

@divideconcept
Copy link
Contributor

See this: #1
If you haven't already please download the latest version (0.9.3) and install it, then launch TorchStudio, click **Menu > Settings...*, click Reset Local Python Environment, restart TorchStudio, and click Install.

@CJ0109
Copy link
Author

CJ0109 commented Mar 3, 2022

Thank you for the reply. It is indeed caused by env problem.
But I'm going to collapse, the anaconda, all utils pkg, env path have been deleted 0.0

@aminemosbah
Copy link

possible solution
tuple: (image, target) where target is index of the target class."""
def init(self, root: str, train: bool = True, transform: typing.Optional[typing.Callable] = None, target_transform: typing.Optional[typing.Callable] = None, download: bool = False):
super().init(root, train, transform, target_transform, download)

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