[PYTHON] Try BeautyGAN at hand

result (1).jpg The learned makeup (upper line) can be applied to the input face.

I will clone it.

git clone https://github.com/Honlan/BeautyGAN.git

Tesorflow and TensorBoard 1.9 are required, so install them.

pip uninstall -y tensorflow
pip install tensorflow==1.9
pip uninstall tensorboard
pip install tensorboard==1.9

From the repository link Download the trained model. Create a model directory under the project directory and put the trained model.

If you specify the image you want to convert and execute it, it will be output as a result.

python main.py --no_makeup 'imgs/no_makeup/inputImage.png'

I am making an app that uses Core ML. We send information related to machine learning. Twitter [ML Boys Channel] (https://www.youtube.com/channel/UCbHff-wfjTnB3rtXIP6y0xg) Medium

Buddy note

Recommended Posts

Try BeautyGAN at hand
Try disabling IPv6 at random