SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.08017 · 2021

Color2Embed: Fast Exemplar-Based Image Colorization using Color Embeddings

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 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
zhaohengyuan1/Color2Style canonical 1 of 5
Kwentar/Color2Embed_pytorch pwc_unofficial 3 of 3
zhaohengyuan1/Color2Embed reimplementation 1 of 1
FunctionStatusWhere it lives
Normalize Ran zhaohengyuan1/Color2Embed/test_gray2color.py
code served (permissive licence) · get_code("05f82634be7c9cea")
reduce_sum Ran zhaohengyuan1/Color2Style/distributed.py
code served (permissive licence) · get_code("3f0a1105ef251d78")
tps_grid Ran Kwentar/Color2Embed_pytorch/color2embed/tsp.py
code served (permissive licence) · get_code("99d05a399a1d204a")
tps_theta_from_points Ran Kwentar/Color2Embed_pytorch/color2embed/tsp.py
code served (permissive licence) · get_code("a4f38b2edc63db94")
uniform_grid Ran Kwentar/Color2Embed_pytorch/color2embed/tsp.py
code served (permissive licence) · get_code("eb1a80c108feaed5")
all_gather Not yet run zhaohengyuan1/Color2Style/distributed.py
code served (permissive licence) · get_code("ed03ba54397adbe4")
reduce_loss_dict Not yet run zhaohengyuan1/Color2Style/distributed.py
code served (permissive licence) · get_code("5144ad456049f8ce")
tensor_lab2rgb Not yet run zhaohengyuan1/Color2Style/utils.py
code served (permissive licence) · get_code("d4e8c9373bf2503b")
vgg_preprocess Not yet run zhaohengyuan1/Color2Style/vgg_model.py
code served (permissive licence) · get_code("034d7b16002df5b6")

Repositories linked to this paper

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

Abstract

In this paper, we present a fast exemplar-based image colorization approach using color embeddings named Color2Embed. Generally, due to the difficulty of obtaining input and ground truth image pairs, it is hard to train a exemplar-based colorization model with unsupervised and unpaired training manner. Current algorithms usually strive to achieve two procedures: i) retrieving a large number of reference images with high similarity for preparing training dataset, which is inevitably time-consuming and tedious; ii) designing complicated modules to transfer the colors of the reference image to the target image, by calculating and leveraging the deep semantic correspondence between them (e.g., non-local operation), which is computationally expensive during testing. Contrary to the previous methods, we adopt a self-augmented self-reference learning scheme, where the reference image is generated by graphical transformations from the original colorful one whereby the training can be formulated in a paired manner. Second, in order to reduce the process time, our method explicitly extracts the color embeddings and exploits a progressive style feature Transformation network, which injects the color embeddings into the reconstruction of the final image. Such design is much more lightweight and intelligible, achieving appealing performance with fast processing speed.

For agents

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

get_harvested_code_for_paper("2106.08017")
get_code_for_paper("2106.08017")
have("2106.08017")

Connect an agent — have() is free.