TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
378 stars 27 forks source link

when load the MNIST, the NoneType error occured #6

Open CJ0109 opened 2 years ago

CJ0109 commented 2 years ago

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

divideconcept commented 2 years ago

See this: https://github.com/TorchStudio/torchstudio/issues/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 commented 2 years ago

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 commented 2 years ago

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)