Skip to content

Commit d13664e

Browse files
jspisaksoumith
authored andcommitted
Update dcgan_faces_tutorial.py (#567)
Corrected to CHW not HWC (3x36x36)
1 parent 7e51fa0 commit d13664e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/dcgan_faces_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# :math:`D(x)` is the discriminator network which outputs the (scalar)
5454
# probability that :math:`x` came from training data rather than the
5555
# generator. Here, since we are dealing with images the input to
56-
# :math:`D(x)` is an image of HWC size 3x64x64. Intuitively, :math:`D(x)`
56+
# :math:`D(x)` is an image of CHW size 3x64x64. Intuitively, :math:`D(x)`
5757
# should be HIGH when :math:`x` comes from training data and LOW when
5858
# :math:`x` comes from the generator. :math:`D(x)` can also be thought of
5959
# as a traditional binary classifier.

0 commit comments

Comments
 (0)