SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.16417 · 2020

MichiGAN: Multi-Input-Conditioned Hair Image Generation for Portrait Editing

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 7 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
tzt101/MichiGAN canonical 7 of 9
FunctionStatusWhere it lives
calc_mean_std Ran tzt101/MichiGAN/models/networks/loss.py
code served (permissive licence) · get_code("38eaf8511dc7bc9c")
concat Ran tzt101/MichiGAN/models/networks/generator.py
code served (permissive licence) · get_code("a3db41dad9292ecb")
conv3x3_bn_relu Ran tzt101/MichiGAN/models/networks/generator.py
code served (permissive licence) · get_code("bf378f5e74f9c237")
gabor_fn Ran tzt101/MichiGAN/models/networks/loss.py
code served (permissive licence) · get_code("1169cbb28040396e")
l2normalize Ran tzt101/MichiGAN/models/networks/MaskGAN_networks.py
code served (permissive licence) · get_code("bedff51745d2cf84")
upsample Ran tzt101/MichiGAN/models/networks/generator.py
code served (permissive licence) · get_code("51c82e965a8a4f1b")
weight_norm Ran tzt101/MichiGAN/models/networks/normalization.py
code served (permissive licence) · get_code("c94542e9e790ad7b")
DoG_fn Not yet run tzt101/MichiGAN/cal_orientation.py
code served (permissive licence) · get_code("9f17bc0437c099f5")
DoG_fn Not yet run tzt101/MichiGAN/models/networks/loss.py
code served (permissive licence) · get_code("84d95eaded86227b")

Repositories linked to this paper

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

Abstract

Despite the recent success of face image generation with GANs, conditional hair editing remains challenging due to the under-explored complexity of its geometry and appearance. In this paper, we present MichiGAN (Multi-Input-Conditioned Hair Image GAN), a novel conditional image generation method for interactive portrait hair manipulation. To provide user control over every major hair visual factor, we explicitly disentangle hair into four orthogonal attributes, including shape, structure, appearance, and background. For each of them, we design a corresponding condition module to represent, process, and convert user inputs, and modulate the image generation pipeline in ways that respect the natures of different visual attributes. All these condition modules are integrated with the backbone generator to form the final end-to-end network, which allows fully-conditioned hair generation from multiple user inputs. Upon it, we also build an interactive portrait hair editing system that enables straightforward manipulation of hair by projecting intuitive and high-level user inputs such as painted masks, guiding strokes, or reference photos to well-defined condition representations. Through extensive experiments and evaluations, we demonstrate the superiority of our method regarding both result quality and user controllability. The code is available at https://github.com/tzt101/MichiGAN.

For agents

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

get_harvested_code_for_paper("2010.16417")
get_code_for_paper("2010.16417")
have("2010.16417")

Connect an agent — have() is free.