GithubHelp home page GithubHelp logo

maihua-cf / seeprettyface-generator-wanghong Goto Github PK

View Code? Open in Web Editor NEW

This project forked from a312863063/seeprettyface-generator-wanghong

0.0 0.0 0.0 7.23 MB

这是一个用StyleGAN训练出的网红脸生成器

Python 100.00%

seeprettyface-generator-wanghong's Introduction

网红脸生成器-V2.0


  更新:基于StyleGAN2制作的新版生成器消除了生成图片中水滴斑点和扭曲/损坏现象的出现,质量大幅提升。点此查看新版
--------------------------------------------------------------------------------------------------------------------


  注明:之前做的一些有意思的人脸生成器,现在全部开源分享出来。它的主要作用是可生成制作各类型的人脸素材,供我们任意使用且无须担心人脸版权的问题。在定制人脸上,开源的全系列生成器包括:黄种人脸生成器网红脸生成器明星脸生成器超模脸生成器萌娃脸生成器,同时人脸属性编辑器能够对所有这些生成器生成的人物进行调整和改变。
  此项目已免费开源使用,模型版权拥有者为: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

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




seeprettyface-generator-wanghong's People

Contributors

a312863063 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.