SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.11641 · 2021

JoJoGAN: One Shot Face Stylization

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
mchong6/JoJoGAN canonical 5 of 7
FunctionStatusWhere it lives
conv2d Ran mchong6/JoJoGAN/op/conv2d_gradfix.py
code served (permissive licence) · get_code("35823a75d3bd5a4a")
conv_transpose2d Ran mchong6/JoJoGAN/op/conv2d_gradfix.py
code served (permissive licence) · get_code("9578c63a2c9fc9ca")
could_use_op Ran mchong6/JoJoGAN/op/conv2d_gradfix.py
code served (permissive licence) · get_code("ca47733c49998955")
get_keys Ran mchong6/JoJoGAN/e4e/models/psp.py
code served (permissive licence) · get_code("29b9a890f149a3a6")
make_kernel Ran mchong6/JoJoGAN/model.py
code served (permissive licence) · get_code("6f65e378a4313f87")
load_model Not yet run mchong6/JoJoGAN/util.py
code served (permissive licence) · get_code("9a9dd0e4a021e4d0")
load_source Not yet run mchong6/JoJoGAN/util.py
code served (permissive licence) · get_code("42f441925895056b")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

A style mapper applies some fixed style to its input images (so, for example, taking faces to cartoons). This paper describes a simple procedure -- JoJoGAN -- to learn a style mapper from a single example of the style. JoJoGAN uses a GAN inversion procedure and StyleGAN's style-mixing property to produce a substantial paired dataset from a single example style. The paired dataset is then used to fine-tune a StyleGAN. An image can then be style mapped by GAN-inversion followed by the fine-tuned StyleGAN. JoJoGAN needs just one reference and as little as 30 seconds of training time. JoJoGAN can use extreme style references (say, animal faces) successfully. Furthermore, one can control what aspects of the style are used and how much of the style is applied. Qualitative and quantitative evaluation show that JoJoGAN produces high quality high resolution images that vastly outperform the current state-of-the-art.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2112.11641")
get_code_for_paper("2112.11641")
have("2112.11641")

Connect an agent — have() is free.