All Projects → aobo-y → hair-dye

aobo-y / hair-dye

Licence: MIT license
Neural Network for Dying Hair💈

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to hair-dye

Cnn Paper2
🎨 🎨 深度学习 卷积神经网络教程 :图像识别,目标检测,语义分割,实例分割,人脸识别,神经风格转换,GAN等🎨🎨 https://dataxujing.github.io/CNN-paper2/
Stars: ✭ 77 (+71.11%)
Mutual labels:  cv, segmentation
superpixelRefinement
Superpixel-based Refinement for Object Proposal Generation (ICPR 2020)
Stars: ✭ 24 (-46.67%)
Mutual labels:  segmentation
superdirt-voltage
⚡️🎛⚡️ CV instruments for Tidal Cycles
Stars: ✭ 34 (-24.44%)
Mutual labels:  cv
Basic-Image-Processing
Implementation of Basic Digital Image Processing Tasks in Python / OpenCV
Stars: ✭ 102 (+126.67%)
Mutual labels:  segmentation
Brain-MRI-Segmentation
Smart India Hackathon 2019 project given by the Department of Atomic Energy
Stars: ✭ 29 (-35.56%)
Mutual labels:  segmentation
simple-resume
🐤️ simple-resume
Stars: ✭ 36 (-20%)
Mutual labels:  cv
vesseg
Brain vessel segmentation using 3D convolutional neural networks
Stars: ✭ 27 (-40%)
Mutual labels:  segmentation
colornet-template
Colorizing B&W Photos with Neural Networks
Stars: ✭ 31 (-31.11%)
Mutual labels:  cv
Point2Sequence
Point2Sequence: Learning the Shape Representation of 3D Point Clouds with an Attention-based Sequence to Sequence Network
Stars: ✭ 34 (-24.44%)
Mutual labels:  segmentation
Polygonization-by-Frame-Field-Learning
This repository contains the code for our fast polygonal building extraction from overhead images pipeline.
Stars: ✭ 161 (+257.78%)
Mutual labels:  segmentation
lung-image-analysis
A basic framework for pulmonary nodule detection and characterization in CT
Stars: ✭ 26 (-42.22%)
Mutual labels:  segmentation
AttentionGatedVNet3D
Attention Gated VNet3D Model for KiTS19——2019 Kidney Tumor Segmentation Challenge
Stars: ✭ 35 (-22.22%)
Mutual labels:  segmentation
DeepSegmentor
Sequence Segmentation using Joint RNN and Structured Prediction Models (ICASSP 2017)
Stars: ✭ 17 (-62.22%)
Mutual labels:  segmentation
jsonresume-theme-boilerplate
Boilerplate theme for JSON Resume.
Stars: ✭ 130 (+188.89%)
Mutual labels:  cv
mmrazor
OpenMMLab Model Compression Toolbox and Benchmark.
Stars: ✭ 644 (+1331.11%)
Mutual labels:  segmentation
wasr network
WaSR Segmentation Network for Unmanned Surface Vehicles v0.5
Stars: ✭ 32 (-28.89%)
Mutual labels:  segmentation
Fast-SCNN pytorch
A PyTorch Implementation of Fast-SCNN: Fast Semantic Segmentation Network(PyTorch >= 1.4)
Stars: ✭ 30 (-33.33%)
Mutual labels:  segmentation
nicMSlesions
Easy multiple sclerosis white matter lesion segmentation using convolutional deep neural networks.
Stars: ✭ 33 (-26.67%)
Mutual labels:  segmentation
VNet
Prostate MR Image Segmentation 2012
Stars: ✭ 54 (+20%)
Mutual labels:  segmentation
vue-developer-profile
Developer's portfolio built with Gridsome + VueJS
Stars: ✭ 20 (-55.56%)
Mutual labels:  cv

hair-dye

The architecture was proposed by Alex L. Cheng C, etc. 'Real-time deep hair matting on mobile devices'

Create environment

$ conda env create -f environment.yml

Activate environment

$ source activate hairdye

Deactivate the environment by

source deactivate

Download dataset

$ sh download.sh

Train

$ nohup python -u main.py --mode=train > out.log &

The checkpoint and sample images are saved in src/checkpoint/default/ by default.

Test

$ python main.py --mode=test

Run

Plot a groundtruth image, the predicted segmentation and the hue adjusted result from the datasets or any specified image

$ python main.py --mode=run --set=test --num=4
$ python main.py --mode=run --image=./path/to/the/image.png

set can be one train and test, default is test

num is the random number of images from the set, default is 4

Convert the PyTorch model to Tensorflow model using ONNX

See the notebook

Deploy the model to Android Application

See our other repo

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