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

[Fix] Add sn_style option for SAGAN and SNGAN. #199

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

LeoXing1996
Copy link
Collaborator

In #159, we support Ajbrock's spectral norm, and the default style of spectral norm is changed.
Therefore we support users to select the style of spectral norm and set the default style to torch.

@codecov
Copy link

codecov bot commented Jan 1, 2022

Codecov Report

Merging #199 (9769916) into master (697817f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   75.61%   75.62%           
=======================================
  Files         128      128           
  Lines        8927     8938   +11     
  Branches     1781     1783    +2     
=======================================
+ Hits         6750     6759    +9     
- Misses       1728     1730    +2     
  Partials      449      449           
Flag Coverage Δ
unittests 75.62% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rchitectures/sngan_proj/generator_discriminator.py 88.32% <100.00%> (+0.21%) ⬆️
mmgen/models/architectures/sngan_proj/modules.py 98.30% <100.00%> (+0.91%) ⬆️
...chitectures/stylegan/generator_discriminator_v1.py 88.70% <0.00%> (-1.13%) ⬇️
...chitectures/stylegan/generator_discriminator_v2.py 86.66% <0.00%> (-1.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 697817f...9769916. Read the comment docs.

@LeoXing1996 LeoXing1996 merged commit 6a2193e into open-mmlab:master Jan 10, 2022
LeoXing1996 added a commit that referenced this pull request Jul 16, 2022
[Fix] Add `sn_style` option for SAGAN and SNGAN.
LeoXing1996 pushed a commit to LeoXing1996/mmgeneration that referenced this pull request Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants