16

GitHub - a312863063/seeprettyface-generator-wanghong: 这是一个用StyleGAN训练出的...

 4 years ago
source link: https://github.com/a312863063/seeprettyface-generator-wanghong
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

网红脸生成器-V2.0


  注明:之前做的一些有意思的人脸生成器,现在全部开源分享出来。它的主要作用是可生成制作各类型的人脸素材,供我们任意使用且无须担心人脸版权的问题。在定制人脸上,开源的全系列生成器包括:黄种人脸生成器网红脸生成器明星脸生成器超模脸生成器萌娃脸生成器,同时人脸属性编辑器能够对所有这些生成器生成的人物进行调整和改变。
  注意:开源的目的是为了方便研究者学习,未经允许严禁私用为商业用途。如想应用于商业产品之中,请参阅本页底部的付费规则,付费之后便可获得商业开发使用权。模型版权拥有者为:www.seeprettyface.com
--------------------------------------------------------------------------------------------------------------------

  V2.0改进内容:1024px上画质提升,生成图片更大更清晰。
  这是一个用StyleGAN训练出的网红脸生成器,生成效果如下所示。


生成示例

  256px单张样本

     Image text

     Image text

     Image text

  1024px单张样本

     Image text

     Image text

查看更多的1024px生成样本可以前往这里(提取码:3iqt),是一个含有1万张生成样本的网红脸数据集。


概览(有筛选)

Image text


网红脸属性编辑

  人脸属性编辑支持在年龄、笑容、角度、性别和光照等23个维度上对生成人物作出调整(详细了解请前往人脸属性编辑器处)。这儿只展示3种调整样例。

笑容调整

Image text

角度调整

Image text

光照调整

Image text

运行代码

环境配置

  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.
  NVIDIA driver 391.35 or newer, CUDA toolkit 9.0 or newer, cuDNN 7.3.1 or newer.

运行步骤

  1.在model文件夹中按照txt地址下载2个模型,放在该位置
  2.在generate_wanghong.py中选择对应的模型,并运行generate_wanghong.py



了解技术原理 & 获取训练集:点此进入

Image text


小小的赞助~

Sample

若对您有帮助可给予小小的赞助~




商业开发付费规则~

  每使用单个模型进行商业开发需支付1000元的版权费,请务必包含格式为【模型名称-公司或个人名称-简述开发意图】的说明单,一同发至上方支付宝账号中。



About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK