SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.09130 · 2021

Ensembling Off-the-shelf Models for GAN Training

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 13 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
nupurkmr9/vision-aided-gan canonical 13 of 15
FunctionStatusWhere it lives
window_partition Ran nupurkmr9/vision-aided-gan/vision_aided_loss/swintaskspecific.py
code served (permissive licence) · get_code("144d10b49baeb8a6")
conv3x3 Ran nupurkmr9/vision-aided-gan/vision_aided_loss/resnet.py
code served (permissive licence) · get_code("fac5364e2f53c6db")
convrelu Ran nupurkmr9/vision-aided-gan/vision_aided_loss/face_normals.py
code served (permissive licence) · get_code("bb6429dd2e9f16d3")
get_interp_size Ran nupurkmr9/vision-aided-gan/vision_aided_loss/face_parsing.py
code served (permissive licence) · get_code("80a82d5149279cdf")
get_pad_layer Ran nupurkmr9/vision-aided-gan/vision_aided_loss/blurpool.py
code served (permissive licence) · get_code("50aa4a59fe718c61")
get_pad_layer_1d Ran nupurkmr9/vision-aided-gan/vision_aided_loss/blurpool.py
code served (permissive licence) · get_code("176a539246e68879")
get_upsampling_weight Ran nupurkmr9/vision-aided-gan/vision_aided_loss/face_parsing.py
code served (permissive licence) · get_code("e475794319393649")
interp Ran nupurkmr9/vision-aided-gan/vision_aided_loss/face_parsing.py
code served (permissive licence) · get_code("3e87c5d93ee4df83")
rand_brightness Ran nupurkmr9/vision-aided-gan/vision_aided_loss/DiffAugment_pytorch.py
code served (permissive licence) · get_code("011230b2b9b8fb6f")
rand_saturation Ran nupurkmr9/vision-aided-gan/vision_aided_loss/DiffAugment_pytorch.py
code served (permissive licence) · get_code("5b0d8787e670fc63")
resnet18 Ran nupurkmr9/vision-aided-gan/vision_aided_loss/resnet.py
code served (permissive licence) · get_code("46b2f3cc882fb768")
resnet34 Ran nupurkmr9/vision-aided-gan/vision_aided_loss/resnet.py
code served (permissive licence) · get_code("edd87b551d6f38c9")
window_reverse Ran nupurkmr9/vision-aided-gan/vision_aided_loss/swintaskspecific.py
code served (permissive licence) · get_code("61bf152e6a42a184")
DiffAugment Not yet run nupurkmr9/vision-aided-gan/vision_aided_loss/DiffAugment_pytorch.py
code served (permissive licence) · get_code("1d566d068b0ed0af")
open_url Not yet run nupurkmr9/vision-aided-gan/vision_aided_loss/utils_.py
code served (permissive licence) · get_code("4d45510ba267046e")

Repositories linked to this paper

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

Abstract

The advent of large-scale training has produced a cornucopia of powerful visual recognition models. However, generative models, such as GANs, have traditionally been trained from scratch in an unsupervised manner. Can the collective "knowledge" from a large bank of pretrained vision models be leveraged to improve GAN training? If so, with so many models to choose from, which one(s) should be selected, and in what manner are they most effective? We find that pretrained computer vision models can significantly improve performance when used in an ensemble of discriminators. Notably, the particular subset of selected models greatly affects performance. We propose an effective selection mechanism, by probing the linear separability between real and fake samples in pretrained model embeddings, choosing the most accurate model, and progressively adding it to the discriminator ensemble. Interestingly, our method can improve GAN training in both limited data and large-scale settings. Given only 10k training samples, our FID on LSUN Cat matches the StyleGAN2 trained on 1.6M images. On the full dataset, our method improves FID by 1.5x to 2x on cat, church, and horse categories of LSUN.

For agents

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

get_harvested_code_for_paper("2112.09130")
get_code_for_paper("2112.09130")
have("2112.09130")

Connect an agent — have() is free.