SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.14288 · 2022

Rewriting Geometric Rules of a GAN

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 14 functions out of this paper's own repositories and ran 9 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
peterwang512/ganwarping canonical 9 of 14
FunctionStatusWhere it lives
double_threshold_hysteresis Ran peterwang512/ganwarping/evaluation/chamfer_evaluator.py
code served (permissive licence) · get_code("3c4d5221760e1639")
edge_predict Ran peterwang512/ganwarping/evaluation/chamfer_evaluator.py
code served (permissive licence) · get_code("a863abfc6030da1b")
fspecial_gauss Ran peterwang512/ganwarping/lib/quality_assess.py
code served (permissive licence) · get_code("4b1b60cde93137bd")
get_transform Ran peterwang512/ganwarping/datasets/base_dataset.py
code served (permissive licence) · get_code("1a099aed69e16116")
mls_affine_deformation_1pt Ran peterwang512/ganwarping/lib/mls.py
code served (permissive licence) · get_code("e2b9823fa3580f26")
mls_similarity_deformation Ran peterwang512/ganwarping/lib/mls.py
code served (permissive licence) · get_code("8c4d44d0f576b44b")
mse Ran peterwang512/ganwarping/lib/quality_assess.py
code served (permissive licence) · get_code("f96cfe5e20ab9852")
non_maximum_suppression Ran peterwang512/ganwarping/evaluation/chamfer_evaluator.py
code served (permissive licence) · get_code("f377d184b49df220")
psnr Ran peterwang512/ganwarping/lib/quality_assess.py
code served (permissive licence) · get_code("af4bf9f37117d224")
ganspace_edit Not yet run peterwang512/ganwarping/ganspace_edit.py
code served (permissive licence) · get_code("3d1c086af5cfb609")
generate Not yet run peterwang512/ganwarping/sample.py
code served (permissive licence) · get_code("c0d08a481f4674ea")
get_params Not yet run peterwang512/ganwarping/datasets/base_dataset.py
code served (permissive licence) · get_code("d80e86b2b7fb857b")
load_model Not yet run peterwang512/ganwarping/ganspace_edit.py
code served (permissive licence) · get_code("39a9a2e448bc9caf")
mls_affine_deformation Not yet run peterwang512/ganwarping/lib/mls.py
code served (permissive licence) · get_code("bd54d6319eb06e4f")

Repositories linked to this paper

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

Abstract

Deep generative models make visual content creation more accessible to novice users by automating the synthesis of diverse, realistic content based on a collected dataset. However, the current machine learning approaches miss a key element of the creative process -- the ability to synthesize things that go far beyond the data distribution and everyday experience. To begin to address this issue, we enable a user to "warp" a given model by editing just a handful of original model outputs with desired geometric changes. Our method applies a low-rank update to a single model layer to reconstruct edited examples. Furthermore, to combat overfitting, we propose a latent space augmentation method based on style-mixing. Our method allows a user to create a model that synthesizes endless objects with defined geometric changes, enabling the creation of a new generative model without the burden of curating a large-scale dataset. We also demonstrate that edited models can be composed to achieve aggregated effects, and we present an interactive interface to enable users to create new models through composition. Empirical measurements on multiple test cases suggest the advantage of our method against recent GAN fine-tuning methods. Finally, we showcase several applications using the edited models, including latent space interpolation and image editing.

For agents

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

get_harvested_code_for_paper("2207.14288")
get_code_for_paper("2207.14288")
have("2207.14288")

Connect an agent — have() is free.