We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccfe48c commit 3fb6f44Copy full SHA for 3fb6f44
1 file changed
โbeginner_source/dcgan_faces_tutorial.pyโ
@@ -587,7 +587,7 @@ def forward(self, input):
587
netG.zero_grad()
588
label.fill_(real_label) # ์์ฑ์์ ์์ค ๊ฐ์ ๊ตฌํ๊ธฐ ์ํด ์ง์ง ๋ผ๋ฒจ์ ์ด์ฉํ ๊ฒ๋๋ค
589
# ์ฐ๋ฆฌ๋ ๋ฐฉ๊ธ D๋ฅผ ์ ๋ฐ์ดํธํ๊ธฐ ๋๋ฌธ์, D์ ๋ค์ ๊ฐ์ง ๋ฐ์ดํฐ๋ฅผ ํต๊ณผ์ํต๋๋ค.
590
- # ์ด๋ G๋ ์ ๋ฐ์ดํธ๋์ง ์์์ง๋ง, D๊ฐ ์ ๋ฐ์ดํธ ๋์๊ธฐ ๋๋ฌธ์ ์์ ์์ค ๊ฐ๊ฐ ๋ค๋ฅธ ๊ฐ์ด ๋์ค๊ฒ ๋ฉ๋๋ค
+ # ์ด๋ G๋ ์ ๋ฐ์ดํธ๋์ง ์์์ง๋ง, D๊ฐ ์ ๋ฐ์ดํธ ๋์๊ธฐ ๋๋ฌธ์ ์์ ์์ค ๊ฐ๊ณผ ๋ค๋ฅธ ๊ฐ์ด ๋์ค๊ฒ ๋ฉ๋๋ค
591
output = netD(fake).view(-1)
592
# G์ ์์ค ๊ฐ์ ๊ตฌํฉ๋๋ค
593
errG = criterion(output, label)
0 commit comments