Skip to content

Commit 5718f6e

Browse files
authored
설명 뒤바뀐 것 수정
1 parent 6f9024b commit 5718f6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

07 - GAN/01 - GAN.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def get_noise(batch_size, n_noise):
8888
# 결국 D_gene 값을 최대화하는 것이므로 다음과 같이 사용할 수 있습니다.
8989
loss_G = tf.reduce_mean(tf.log(D_gene))
9090

91-
# loss_D 를 구할 때는 생성기 신경망에 사용되는 변수만 사용하고,
92-
# loss_G 를 구할 때는 판별기 신경망에 사용되는 변수만 사용하여 최적화를 합니다.
91+
# loss_D 를 구할 때는 판별기 신경망에 사용되는 변수만 사용하고,
92+
# loss_G 를 구할 때는 생성기 신경망에 사용되는 변수만 사용하여 최적화를 합니다.
9393
D_var_list = [D_W1, D_b1, D_W2, D_b2]
9494
G_var_list = [G_W1, G_b1, G_W2, G_b2]
9595

0 commit comments

Comments
 (0)