All Projects → quolc → Neural Collage

quolc / Neural Collage

Licence: mit
Collaging on Internal Representations: An Intuitive Approach for Semantic Transfiguration

Projects that are alternatives of or similar to Neural Collage

Pytips
Useful Python tips!
Stars: ✭ 542 (-1.28%)
Mutual labels:  jupyter-notebook
Sentiment analysis fine grain
Multi-label Classification with BERT; Fine Grained Sentiment Analysis from AI challenger
Stars: ✭ 546 (-0.55%)
Mutual labels:  jupyter-notebook
Pdpbox
python partial dependence plot toolbox
Stars: ✭ 544 (-0.91%)
Mutual labels:  jupyter-notebook
Chinese models for spacy
SpaCy 中文模型 | Models for SpaCy that support Chinese
Stars: ✭ 543 (-1.09%)
Mutual labels:  jupyter-notebook
Hate Speech And Offensive Language
Repository for the paper "Automated Hate Speech Detection and the Problem of Offensive Language", ICWSM 2017
Stars: ✭ 543 (-1.09%)
Mutual labels:  jupyter-notebook
Flowtron
Flowtron is an auto-regressive flow-based generative network for text to speech synthesis with control over speech variation and style transfer
Stars: ✭ 546 (-0.55%)
Mutual labels:  jupyter-notebook
Nanovna
Very Tiny Palmtop Vector Network Analyzer
Stars: ✭ 539 (-1.82%)
Mutual labels:  jupyter-notebook
Pythoncode Tutorials
The Python Code Tutorials
Stars: ✭ 544 (-0.91%)
Mutual labels:  jupyter-notebook
Sqlworkshops
SQL Server Workshops
Stars: ✭ 544 (-0.91%)
Mutual labels:  jupyter-notebook
Probabilistic Programming And Bayesian Methods For Hackers
aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
Stars: ✭ 23,912 (+4255.56%)
Mutual labels:  jupyter-notebook
Pynotes
Python exercises to practice skills
Stars: ✭ 543 (-1.09%)
Mutual labels:  jupyter-notebook
Pierian Data Complete Python 3 Bootcamp
Stars: ✭ 544 (-0.91%)
Mutual labels:  jupyter-notebook
Machine Learning Notes
My continuously updated Machine Learning, Probabilistic Models and Deep Learning notes and demos (2000+ slides) 我不间断更新的机器学习,概率模型和深度学习的讲义(2000+页)和视频链接
Stars: ✭ 5,390 (+881.79%)
Mutual labels:  jupyter-notebook
Tensorrt
TensorFlow/TensorRT integration
Stars: ✭ 543 (-1.09%)
Mutual labels:  jupyter-notebook
Fuzzingbook
Project page for "The Fuzzing Book"
Stars: ✭ 549 (+0%)
Mutual labels:  jupyter-notebook
Machine Learning Books With Python
Chapter by Chapter notes, exercises and code for a variety of machine learning books using Python
Stars: ✭ 539 (-1.82%)
Mutual labels:  jupyter-notebook
Ember
Stars: ✭ 545 (-0.73%)
Mutual labels:  jupyter-notebook
Gan
Tooling for GANs in TensorFlow
Stars: ✭ 547 (-0.36%)
Mutual labels:  jupyter-notebook
Bandits
Python library for Multi-Armed Bandits
Stars: ✭ 547 (-0.36%)
Mutual labels:  jupyter-notebook
Handson Ml
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in python using Scikit-Learn and TensorFlow.
Stars: ✭ 23,798 (+4234.79%)
Mutual labels:  jupyter-notebook

Neural Collage

arXiv preprint

Chainer implementation of our novel CNN-based image editing method that allows the user to change the semantic information of an image over a user-specified region:

Collaging on Internal Representations: An Intuitive Approach for Semantic Transfiguration

Ryohei Suzuki1,2*, Masanori Koyama2, Takeru Miyato2, Taizan Yonetsuji2
1The University of Tokyo, 2Preferred Networks, Inc.,
*This work was done when the author was at Preferred Networks, Inc.
arXiv:1811.10153

Colab examples

Collage-based image editing

Image editing pipeline

Spatial class-translation

Image editing results using spatial class-translation:

Spatially-modulated image generation results:

    

Semantic transplantation

Image editing results using semantic transplantation:

Spatial class + semantic transfiguration

Left: example image editing result with spatial class-translation + semantic transplantation.
Right: image generation with spatial class (horizontal) + semantic (vertical) morphing.

    

Setup

Prerequisites

  • Python >= 3.6

Install required python libraries:

pip install -r requirements.txt

Pre-trained models

If you want to use pretrained models for the image generation, please download the model from link and set the snapshot argument to the path to the downloaded pretrained model file (.npz).

Web-based demos

Spatial class-translation

# launch server on localhost:5000
python demo_spatial_translation.py \
--config ./configs/sn_projection_dog_and_cat_256_scbn.yml \
--gen_model ./sn_projection_dog_and_cat_256/ResNetGenerator_450000.npz \
--gpu 0

Semantic transplantation

# launch server on localhost:5000
python demo_feature_blending.py \
--config ./configs/sn_projection_dog_and_cat_256_scbn.yml \
--gen_model ./sn_projection_dog_and_cat_256/ResNetGenerator_450000.npz \
--gpu 0

Advanced Features and Training

Please go to this link.

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].