lllyasviel / style2paints

sketch + style = paints :art: (TOG2018/SIGGRAPH2018ASIA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why paired image for sketch is ground truth in loss function?

dexhunter opened this issue · comments

Hi!

The loss function in the paper is defined as following:
loss

I was wondering why the y is the paired domain of painting. From my understanding, the ground truth should be style image so the output will be more close to the style you want transferred to.

Does it make more sense to use like V(x) - G(x, y) in this case?

V(x) is shaped as 1x1x4096
G(x, y) is shaped as 256x256x3 or 512x512x3
you can not make diff for them.
v(x) is style of x
G(x, y) , y = v(x) means "use sketch of x and style of x to generate x itself."
When the dataset is large enough, it somehow works like style transfer.

maybe and you can try

Code is coming soon.