Skip to content

Commit 5e911b1

Browse files
committed
add img normalize (GAN ch3)
1 parent 71bdc22 commit 5e911b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/chapters/GAN/Ch3-GAN.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
" \n",
272272
" print(X['A'].shape, X['B'].shape)\n",
273273
" ax1 = fig.add_subplot(rows, cols, 1)\n",
274-
" ax1.imshow(reNormalize(X[\"A\"][0], gray_mean, gray_std).reshape(img_height, img_width), cmap='gray') #reshape?\n",
274+
" ax1.imshow(reNormalize(X[\"A\"][0], gray_mean, gray_std).reshape(img_height, img_width), cmap='gray') \n",
275275
" ax1.set_title('gray img')\n",
276276
"\n",
277277
" ax2 = fig.add_subplot(rows, cols, 2)\n",

0 commit comments

Comments
 (0)