Skip to content

Commit 51fe404

Browse files
Merge pull request yandexdataschool#67 from NickVeld/patch-21
week9:adversarial_pytorch typo fixes
2 parents 1eaf7ef + 4a8b35a commit 51fe404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

week09_adversarial/adversarial_pytorch.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"<img src=\"https://www.strangerdimensions.com/wp-content/uploads/2013/11/reception-robot.jpg\" width=320>\n",
99
"This time we'll train a neural net to generate plausible human faces in all their subtlty: appearance, expression, accessories, etc. 'Cuz when us machines gonna take over Earth, there won't be any more faces left. We want to preserve this data for future iterations. Yikes...\n",
1010
"\n",
11-
"Based on Based on https://github.com/Lasagne/Recipes/pull/94 .\n"
11+
"Based on https://github.com/Lasagne/Recipes/pull/94 .\n"
1212
]
1313
},
1414
{
@@ -305,7 +305,7 @@
305305
" disc_on_fake_data = <discriminator's prediction on generated data>\n",
306306
" \n",
307307
" logp_real_is_real = F.logsigmoid(disc_on_real_data)\n",
308-
" logp_gen_is_fake = F.logsigmoid(- logp_gen_is_fake)\n",
308+
" logp_gen_is_fake = <impact of generated data on loss> \n",
309309
" \n",
310310
" loss = <discriminator loss>\n",
311311
" return loss"

0 commit comments

Comments
 (0)