【seeprettyface.com】开源源码:萌娃脸生成器(已免费开源)
源码下载地址:github.com/a312863063/seeprettyface-generator-babies
了解训练方法&获取训练集:www.seeprettyface.com
——————————————————————————————————
萌娃脸生成器
这是一个用StyleGAN训练出的萌娃脸生成器,现将它开源分享出来,代码的下载地址在顶部。
生成示例
单张样本
概览(常规版)
概览(可爱笑容版)
萌娃脸属性编辑
笑容调整
角度调整
年龄调整
性别调整
光照调整
运行代码
环境配置
Both Linux and Windows are supported, but we strongly recommend Linux for performance and compatibility reasons.
64-bit Python 3.6 installation. We recommend Anaconda3 with numpy 1.14.3 or newer.
TensorFlow 1.10.0 or newer with GPU support.
One or more high-end NVIDIA GPUs with at least 11GB of DRAM.
NVIDIA driver 391.35 or newer, CUDA toolkit 9.0 or newer, cuDNN 7.3.1 or newer.
运行步骤
1.在model文件夹中按照txt地址下载模型,放在该位置
2.运行generate_kid.py或generate_smile_kid.py