Skip to content

ndb796/StyleCLIP-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StyleCLIP Tutorial

This repository provides an unofficial tutorial for StyleCLIP.

  • The original paper and source codes can be found in this link.
  • Face manipulation example
    • Text prompt: "A really sad face"

  • Face manipulation animation

What is CLIP?

  • CLIP jointly trains an image encoder and a text encoder using a large dataset.
  • The cosine similarity between an image and text feature is high if they have similar semantic meanings.

StyleCLIP Methods

1. Latent Optimization

  • The optimization method requires 200 - 300 iterations that spend several minutes.

2. Latent Mapper

  • After trained per text prompt (10 hours), the mapper manipulates attributes in one forward pass.

3. Global Directions

  • Find global directions in a StyleGAN's style space S.
  • After finding a global direction, we can apply this global direction to any latent vector s.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published