Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Implement of sngan_proj #42

Merged
merged 13 commits into from
Jun 16, 2021
Prev Previous commit
Next Next commit
fix bug in unit test
  • Loading branch information
LeoXing1996 committed Jun 16, 2021
commit ea109d733e69c811cc1b4b10c573873d4b226358
6 changes: 2 additions & 4 deletions tests/test_models/test_sngan_proj.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ def setup_class(cls):
type='SNGANGenerator',
output_scale=32,
base_channels=256,
num_classes=10,
style='chainer')
num_classes=10)

cls.discriminator_cfg = dict(
type='ProjDiscriminator',
input_scale=32,
base_channels=128,
num_classes=10,
style='chainer')
num_classes=10)

cls.disc_auxiliary_loss = None
cls.gan_loss = dict(type='GANLoss', gan_type='hinge')
Expand Down