Skip to content

Commit

Permalink
Fix overwritten parameter in GAN network
Browse files Browse the repository at this point in the history
  • Loading branch information
mcleonard committed Aug 8, 2017
1 parent be2590e commit aacdee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dcgan-svhn/DCGAN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
" self.input_real, self.input_z = model_inputs(real_size, z_size)\n",
" \n",
" self.d_loss, self.g_loss = model_loss(self.input_real, self.input_z,\n",
" real_size[2], alpha=0.2)\n",
" real_size[2], alpha=alpha)\n",
" \n",
" self.d_opt, self.g_opt = model_opt(self.d_loss, self.g_loss, learning_rate, beta1)"
]
Expand Down Expand Up @@ -712,7 +712,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions dcgan-svhn/DCGAN_Exercises.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
" self.input_real, self.input_z = model_inputs(real_size, z_size)\n",
" \n",
" self.d_loss, self.g_loss = model_loss(self.input_real, self.input_z,\n",
" real_size[2], alpha=0.2)\n",
" real_size[2], alpha=alpha)\n",
" \n",
" self.d_opt, self.g_opt = model_opt(self.d_loss, self.g_loss, learning_rate, beta1)"
]
Expand Down Expand Up @@ -587,7 +587,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit aacdee7

Please sign in to comment.