r/MediaSynthesis • u/Wiskkey • Feb 16 '21
Media Manipulation Edit a human face image with text-to-image using Google Colab notebook StyleCLIP by orpatashnik. 3 transformations shown. Details in a comment.
47
Upvotes



6
u/Wiskkey Feb 16 '21 edited Mar 02 '21
The Google Colab notebook is StyleCLIP. GitHub. Twitter reference.
If you want to edit an existing image, the GitHub page says to use encoder4editing,
but it currently has no code. If that is remedied, then set experiment_type=edit and latent_path to the output file generated by encoder4editing. If you use experiment_type=edit and latent_path=None, a random StyleGAN image is used.From the GitHub page:
Related: List of sites/programs/projects that use OpenAI's CLIP neural network for steering image/video creation to match a text description.
4
u/RaphaelNunes10 Feb 16 '21
It's awesome how people manage to get text-to-image with CLIP alone.
At this point OpenAI can keep their tail-between-their-legs with DALL·E all they want.
They've already unleashed the beast!
1
u/Wiskkey Feb 19 '21
How to invert and edit an image
1
u/mbanana Feb 17 '21
I'd love to try this, but just running the colab notebook as presented it errors out.
>FileNotFoundError: [Errno 2] No such file or directory: 'stylegan2-ffhq-config-f.pt'