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

What does blur function do? #111

Open
allenhung1025 opened this issue Jan 6, 2021 · 3 comments
Open

What does blur function do? #111

allenhung1025 opened this issue Jan 6, 2021 · 3 comments

Comments

@allenhung1025
Copy link

Dear author:

Thanks for your amazing repo, it helped me understanding stylegan more.

I got stuck when tracing your code at model.py

I didn't understand what blur functions do and their counterparts in the original paper.
I would be very thankful if anyone understands could share his or her thoughts about my problem.

Thanks~

@rosinality
Copy link
Owner

It corresponds to bilinear sampling in the paper. You can refer to https://arxiv.org/abs/1904.11486.

@allenhung1025
Copy link
Author

Thanks for your feedback. I understood blur functions more.
However, I still didn't understand why, in your implementation, you used the blurring technique two times.
The first time is in BlurFunction, the second time is in BlurFunctionBackward.
Thank you again for your amazing work!!

@rosinality
Copy link
Owner

It is the implementation of backward pass of blur operation, so it is not applied twice.

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

No branches or pull requests

2 participants