Updating GAN Code...

This commit is contained in:
Shubbair 2024-07-28 17:26:24 +03:00
parent 3716501e8d
commit 3e63cd93fe

View File

@ -463,14 +463,6 @@
"for epoch in tqdm(range(200)):\n",
"\n",
" for real in batch_iterate(batch_size, train_images):\n",
" cur_batch_size = len(real)\n",
" # real = real.reshape(-1)\n",
" \n",
" # Flatten the batch of real images from the dataset\n",
" \n",
" # plt.imshow(real[0].reshape(28,28))\n",
" # print(len(real))\n",
" # break\n",
" \n",
" D_loss,D_grads = D_loss_grad(gen, disc, real, batch_size, z_dim)\n",
"\n",