StyTR-2 icon indicating copy to clipboard operation
StyTR-2 copied to clipboard

About the patch partition.

Open Charlulote opened this issue 2 years ago • 1 comments

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?

Charlulote avatar Apr 29 '22 03:04 Charlulote

@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.

kimbring2 avatar Feb 15 '23 06:02 kimbring2