diffae
diffae copied to clipboard
how to interpolate faces
can you tell me where to find the code to interpolate faces, or show me how to do it, according to the page I use weighted sum but I'm not very good at math and I don't know what to add here.
You are right. I may add it later. By the way, the interpolation is simply a convex combination: interpolate = alpha * latent_code1 + (1-alpha) * latent_code2 for the semantic codes. In the paper, we also do the noise interpolation albeit slightly differently with spherical interpolation (described in the paper).
Added in https://github.com/phizaz/diffae/commit/0c3f99c609ed8b63c4383eb1201727093ef9070c. See interpolate.ipynb
.