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

About the patch partition. #15

Open
Charlulote opened this issue Apr 29, 2022 · 1 comment
Open

About the patch partition. #15

Charlulote opened this issue Apr 29, 2022 · 1 comment

Comments

@Charlulote
Copy link

It seems that the PatchEmbed module embeds images and divide it into pathes, which is implemented with dilated convolution and large kernel size. But how it realize the locality demonstrated in the Fig2 of the paper? That is, the patches in the framework figure are divided on the pixel grid continuously but I don't see any pixel partition operation in the code. Or is it just my misunderstanding of the paper?

@kimbring2
Copy link

kimbring2 commented Feb 15, 2023

@Charlulote Same question here, I can not find the patch partition part in the code. However, that part is on paper.

I am not sure the Style Transfer can be done solely by the Self-Attention mechanism because of that part.

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