All Projects → dongheehand → MemoPainter-PyTorch

dongheehand / MemoPainter-PyTorch

Licence: other
An unofficial implementation of MemoPainter(Coloring With Limited Data: Few-shot Colorization via Memory Augmented Networks) using PyTorch framework.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to MemoPainter-PyTorch

few shot slot tagging and NER
PyTorch implementation of the paper: Vector Projection Network for Few-shot Slot Tagging in Natural Language Understanding. Su Zhu, Ruisheng Cao, Lu Chen and Kai Yu.
Stars: ✭ 17 (-73.02%)
Mutual labels:  few-shot-learning
Deep-Exemplar-based-Video-Colorization
The source code of CVPR 2019 paper "Deep Exemplar-based Video Colorization".
Stars: ✭ 180 (+185.71%)
Mutual labels:  colorization
CDFSL-ATA
[IJCAI 2021] Cross-Domain Few-Shot Classification via Adversarial Task Augmentation
Stars: ✭ 21 (-66.67%)
Mutual labels:  few-shot-learning
limner
Limner colorizes and transforms CLI outputs.
Stars: ✭ 99 (+57.14%)
Mutual labels:  colorization
lowshot-shapebias
Learning low-shot object classification with explicit shape bias learned from point clouds
Stars: ✭ 37 (-41.27%)
Mutual labels:  few-shot-learning
MeTAL
Official PyTorch implementation of "Meta-Learning with Task-Adaptive Loss Function for Few-Shot Learning" (ICCV2021 Oral)
Stars: ✭ 24 (-61.9%)
Mutual labels:  few-shot-learning
Awesome-Weak-Shot-Learning
A curated list of papers, code and resources pertaining to weak-shot classification, detection, and segmentation.
Stars: ✭ 142 (+125.4%)
Mutual labels:  few-shot-learning
keras-mobile-colorizer
U-Net Model conditioned with MobileNet features for Grayscale -> Color mapping
Stars: ✭ 26 (-58.73%)
Mutual labels:  colorization
Meta-TTS
Official repository of https://arxiv.org/abs/2111.04040v1
Stars: ✭ 69 (+9.52%)
Mutual labels:  few-shot-learning
Meta-Fine-Tuning
[CVPR 2020 VL3] The repository for meta fine-tuning in cross-domain few-shot learning.
Stars: ✭ 29 (-53.97%)
Mutual labels:  few-shot-learning
WMPoetry
The source codes of Working Memory model for Chinese poetry generation (IJCAI 2018).
Stars: ✭ 49 (-22.22%)
Mutual labels:  memory-network
MemNet ABSA
No description or website provided.
Stars: ✭ 20 (-68.25%)
Mutual labels:  memory-network
PaintsTensorFlow
line drawing colorization using TensorFlow
Stars: ✭ 47 (-25.4%)
Mutual labels:  colorization
Awesome-Deep-Colorization
Selected Paper List of Deep Model based Image Colorization
Stars: ✭ 62 (-1.59%)
Mutual labels:  colorization
mmfewshot
OpenMMLab FewShot Learning Toolbox and Benchmark
Stars: ✭ 336 (+433.33%)
Mutual labels:  few-shot-learning
zsh-ls-colors
A zsh library to use LS_COLORS
Stars: ✭ 23 (-63.49%)
Mutual labels:  colorization
finetuner
Finetuning any DNN for better embedding on neural search tasks
Stars: ✭ 442 (+601.59%)
Mutual labels:  few-shot-learning
colorize-video
colorize video using publicly available neural-networks
Stars: ✭ 24 (-61.9%)
Mutual labels:  colorization
video coloriser
Pytorch Convolutional Neural Net and GAN based video coloriser that converts black and white video to colorised video.
Stars: ✭ 29 (-53.97%)
Mutual labels:  colorization
Prototypical-Networks
A novel method for few shot learning
Stars: ✭ 47 (-25.4%)
Mutual labels:  few-shot-learning

Coloring With Limited Data: Few-Shot Colorization via Memory Augmented Networks

Overview

An unofficial implementation of MemoPainter described in the paper using PyTorch.

Published in CVPR 2019, written by S. Yoo, H. Bahng, S. Chung, J. Lee, J. Chang and J. Choo

Requirement

  • Python 3.6.5
  • PyTorch 1.1.0
  • Pillow 5.1.0
  • numpy 1.14.5
  • scikit-image 0.15.0
  • scikit-learn 0.19.0
  • colorthief 0.2.1

Datasets

Pre-trained model

Important Configurations

All recommeded values for configurations are based on paper and supplementary material.

  1. --color_info : Should be 'RGB' or 'dist'. What you want to use as a color information for color feature.

  2. --color_feat_dim : If you use RGB color information, the option should be 30. If you use color distribution as a color information, the option should be 313.

  3. --mem_size : The memory size. It is remmended to set the memory size to 1.2 times the size of training set.

  4. --top_k : The parameter for computing the kNN with respect to cosine similarity. It is recommended to set --top_k to 32, if you use RGB color_info. If you use color distribution as color feature, to setting --top_k to 256 is recommended.

Train & Test

If you refer to run.sh in my repository, you can know how to train and test.

Experimental Results

Experimental results on Oxford102 dataset.

I randomly split the oxford102 dataset into a training set(80%) and a test set(20%)

You can download full experimental results on my oxford102 test set. Link

Input Result Ground Truth

Experimental results on Pokemon data. Test images are crawled from the internet

Input Result Ground Truth

Experimental results on Superhero data. Train images and test images are crawled from the internet.

Input Result Ground Truth

Comments

If you have any questions or comments on my codes, please email to me. [email protected]

References

[1]. https://github.com/awesome-davian/Text2Colors

  • The most parts of discriminator.py are borrowed from [1]

[2]. https://github.com/nilboy/colorization-tf

  • The parts for quantizing ab values into 313 color bins are borrowed from [2]

[3]. https://github.com/NVlabs/MUNIT

[4]. https://github.com/RUSH-LAB/LSH_Memory

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].