Skip to content

Commit

Permalink
No batch normalization for the critic.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcamino committed Aug 20, 2018
1 parent 9dc0287 commit 5e6146d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion multi_categorical_gans/methods/arae/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def main():
discriminator = Discriminator(
options.code_size,
hidden_sizes=parse_int_list(options.discriminator_hidden_sizes),
bn_decay=options.bn_decay,
bn_decay=0, # no batch normalization for the critic
critic=True
)

Expand Down
2 changes: 1 addition & 1 deletion multi_categorical_gans/methods/mc_wgan_gp/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def main():
discriminator = Discriminator(
features.shape[1],
hidden_sizes=parse_int_list(options.discriminator_hidden_sizes),
bn_decay=options.bn_decay,
bn_decay=0, # no batch normalization for the critic
critic=True
)

Expand Down

0 comments on commit 5e6146d

Please sign in to comment.