SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.05270 · 2019

MineGAN: effective knowledge transfer from GANs to target domains with few images

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 20 functions out of this paper's own repositories and ran 12 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
yaxingwang/MineGAN pwc_unofficial 12 of 20
FunctionStatusWhere it lives
D_arch Ran yaxingwang/MineGAN/BigGAN.py
code served (permissive licence) · get_code("85eb95cce203dfc7")
G_arch Ran yaxingwang/MineGAN/BigGAN.py
code served (permissive licence) · get_code("e8c308c9283407d7")
M_arch Ran yaxingwang/MineGAN/BigGAN.py
code served (permissive licence) · get_code("7b1f8ad8742580c5")
find_classes Ran yaxingwang/MineGAN/datasets.py
code served (permissive licence) · get_code("52d10a10fb72fb9f")
gram_schmidt Ran yaxingwang/MineGAN/layers.py
code served (permissive licence) · get_code("c41836f3e51fa8f1")
is_image_file Ran yaxingwang/MineGAN/datasets.py
code served (permissive licence) · get_code("4e6a8faaf8e44abe")
l2_reg Ran yaxingwang/MineGAN/styleGAN/finetune.py
code served (permissive licence) · get_code("3d111932e00fa877")
loss_dcgan_gen Ran yaxingwang/MineGAN/losses.py
code served (permissive licence) · get_code("c64be9107f781e89")
make_dataset Ran yaxingwang/MineGAN/datasets.py
code served (permissive licence) · get_code("79e61b6269a450e8")
numpy_calculate_frechet_distance Ran yaxingwang/MineGAN/inception_utils.py
code served (permissive licence) · get_code("54af0200eab3163f")
sqrt_newton_schulz Ran yaxingwang/MineGAN/inception_utils.py
code served (permissive licence) · get_code("c39eebccbb5e86a6")
torch_cov Ran yaxingwang/MineGAN/inception_utils.py
code served (permissive licence) · get_code("4a2b2f288be2a186")
D_arch Not yet run yaxingwang/MineGAN/BigGANdeep.py
code served (permissive licence) · get_code("a99a05ac52533be9")
FM_reg Not yet run yaxingwang/MineGAN/styleGAN/finetune.py
code served (permissive licence) · get_code("a76fa2aebbbe157d")
G_arch Not yet run yaxingwang/MineGAN/BigGANdeep.py
code served (permissive licence) · get_code("44d6a6343f6eb182")
loss_dcgan_dis Not yet run yaxingwang/MineGAN/losses.py
code served (permissive licence) · get_code("982a26492dc6b7fb")
loss_hinge_dis Not yet run yaxingwang/MineGAN/losses.py
code served (permissive licence) · get_code("290cd37ab0098d5c")
power_iteration Not yet run yaxingwang/MineGAN/layers.py
code served (permissive licence) · get_code("28d3a35157f2916d")
proj Not yet run yaxingwang/MineGAN/layers.py
code served (permissive licence) · get_code("4015ab1f3ab9b881")
run Not yet run yaxingwang/MineGAN/inception_tf13.py
code served (permissive licence) · get_code("ac122c2c1495ce94")

Repositories linked to this paper

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

Abstract

One of the attractive characteristics of deep neural networks is their ability to transfer knowledge obtained in one domain to other related domains. As a result, high-quality networks can be trained in domains with relatively little training data. This property has been extensively studied for discriminative networks but has received significantly less attention for generative models. Given the often enormous effort required to train GANs, both computationally as well as in the dataset collection, the re-use of pretrained GANs is a desirable objective. We propose a novel knowledge transfer method for generative models based on mining the knowledge that is most beneficial to a specific target domain, either from a single or multiple pretrained GANs. This is done using a miner network that identifies which part of the generative distribution of each pretrained GAN outputs samples closest to the target domain. Mining effectively steers GAN sampling towards suitable regions of the latent space, which facilitates the posterior finetuning and avoids pathologies of other methods such as mode collapse and lack of flexibility. We perform experiments on several complex datasets using various GAN architectures (BigGAN, Progressive GAN) and show that the proposed method, called MineGAN, effectively transfers knowledge to domains with few target images, outperforming existing methods. In addition, MineGAN can successfully transfer knowledge from multiple pretrained GANs. Our code is available at: https://github.com/yaxingwang/MineGAN.

For agents

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

get_harvested_code_for_paper("1912.05270")
get_code_for_paper("1912.05270")
have("1912.05270")

Connect an agent — have() is free.