In section "Add code to transform and select random images" executing it found some error

Iliana Tzima 0 Reputation points
2024-05-08T09:44:55.24+00:00

This code in jupyter cell

images, labels = dataiter.next()

returns error "'_SingleProcessDataLoaderIter' object has no attribute 'next'"

So found out that the syntax is next(dataiter) and then the even the next cell run successfully

Visual Studio Training
Visual Studio Training
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Training: Instruction to develop new skills.
8 questions
{count} votes