Skip to content

Commit

Permalink
Update CIFAR_TorchVision_Interpret.ipynb (#1054)
Browse files Browse the repository at this point in the history
Summary:
Argument was not used => removed it

Pull Request resolved: #1054

Reviewed By: aobo-y

Differential Revision: D44093868

Pulled By: NarineK

fbshipit-source-id: aa12bbeed993c7e043ff292b84f814b444db73c9
  • Loading branch information
andife authored and facebook-github-bot committed Apr 6, 2023
1 parent 50f7bdd commit 5bb5e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/CIFAR_TorchVision_Interpret.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
],
"source": [
"\n",
"def imshow(img, transpose = True):\n",
"def imshow(img):\n",
" img = img / 2 + 0.5 # unnormalize\n",
" npimg = img.numpy()\n",
" plt.imshow(np.transpose(npimg, (1, 2, 0)))\n",
Expand Down

0 comments on commit 5bb5e11

Please sign in to comment.