Skip to content

Commit

Permalink
Bug Fix: n_layers_D should be 4
Browse files Browse the repository at this point in the history
--n_layers_D should be 4 by default to match the setting described in the paper.
  • Loading branch information
taesungp committed May 21, 2019
1 parent 3b37eb3 commit b0b5e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/networks/discriminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def forward(self, input):
class NLayerDiscriminator(BaseNetwork):
@staticmethod
def modify_commandline_options(parser, is_train):
parser.add_argument('--n_layers_D', type=int, default=3,
parser.add_argument('--n_layers_D', type=int, default=4,
help='# layers in each discriminator')
return parser

Expand Down

0 comments on commit b0b5e57

Please sign in to comment.