pytorch-tutorial icon indicating copy to clipboard operation
pytorch-tutorial copied to clipboard

Modify the deprecated code in the main.py file of the pytorch_basics repository.

Open Corner430 opened this issue 2 years ago • 0 comments

The line images, labels = data_iter.next() has been deprecated. I have updated it to images, labels = next(data_iter).

Additionally, I've split the main.py file into a new file named main.ipynb.

Corner430 avatar Aug 15 '23 08:08 Corner430