eladrich / pixel2style2pixel

Official Implementation for "Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation" (CVPR 2021) presenting the pixel2style2pixel (pSp) framework
https://eladrich.github.io/pixel2style2pixel/
MIT License
3.19k stars 570 forks source link

About Image interpolation #277

Closed JNash123 closed 2 years ago

JNash123 commented 2 years ago

Sorry, I have checked all the issues, but no one asked this question, I wonder how to do image interpolation? Thank u

yuval-alaluf commented 2 years ago

To interpolate two vectors a and b you can define their interpolation as: alpha * a + (1 - alpha) * b for various values of alpha. You can take a look at the animations notebook in the ReStyle repo for an example: http://colab.research.google.com/github/yuval-alaluf/restyle-encoder/blob/master/notebooks/animations_playground.ipynb

JNash123 commented 2 years ago

thank u, i got it