Skip to content

Commit

Permalink
Merge pull request #406 from AliKhaled11/master
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
abhiojha8 authored Dec 24, 2022
2 parents 855fb9a + 8778be4 commit c9404fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"outputs": [],
"source": [
"dataiter = iter(trainloader)\n",
"images, labels = dataiter.next()\n",
"images, labels = next(dataiter)\n",
"print(type(images))\n",
"print(images.shape)\n",
"print(labels.shape)"
Expand Down

0 comments on commit c9404fc

Please sign in to comment.