TorchStudio / torchstudio

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

NameError: name 'NoneType' is not defined #1

Closed gauthamk28 closed 2 years ago

gauthamk28 commented 2 years ago

I downloaded the torchstudio(Windows 10) , choosed my anaconda pytorch environment , selected torchvision.datasets , MNIST and clicked on load , I am getting the following error

NameError: name 'NoneType' is not defined

image

divideconcept commented 2 years ago

Can you check the Code box at the top (next to MNIST, revealing the source code of MNIST) and copy the code shown here ?

gauthamk28 commented 2 years ago

Thank you for your reply , sorry yesterday after posting the issue here, I immediately clicked on Reset Local Python Environment , then the conda environment got resetted and after restarting the TorchStudio , it works without any issue.

But yesterday the issue was not only with the MNIST , I tried with CIFAR 10 , FashionMNIST , EMNIST , ... everything was giving the same error as it is in the screenshot , might be some issue with cond aenvironment but now everything works fine