-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] fix a bug in mmagic/models/editors/stylegan2/stylegan2_generator.py #1956
Conversation
fix a bug in stylegan2_generator.py
@qsun1 Thanks for your contribution. Please sign CLA, then this PR can be merged! |
Hi @qsun1, We'd like to express our appreciation for your valuable contributions to the mmagic. Your efforts have significantly aided in enhancing the project's quality. If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID". Thanks again for your awesome contribution, and we're excited to have you as part of our community! |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1956 +/- ##
=======================================
Coverage 82.31% 82.31%
=======================================
Files 416 416
Lines 27966 27966
Branches 4375 4375
=======================================
Hits 23020 23020
Misses 3997 3997
Partials 949 949
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Motivation
misuage of
torch.flip
Modification
torch.flip(input, dims)
dims
is of list / tuple type, instead of a int;We change$\rightarrow$
1
[1]
.