Coder Social home page Coder Social logo

seeprettyface-generator-model's Introduction

超模脸生成器


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


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



  这是一个用StyleGAN训练出的超模人脸生成器,生成效果如下所示。


生成示例

  单张样本

     Image text

     Image text

     Image text

概览(有筛选)

Image text


查看更多的生成样本可以前往这里(提取码:2A5W),是一个含有1万张生成样本的超模脸数据集。


超模脸属性编辑

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

笑容调整

Image text

年龄调整

Image text

角度调整

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.运行generate_model.py



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

Image text


小小的赞助~

Sample

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




seeprettyface-generator-model's People

Contributors

a312863063 avatar

Watchers

James Cloos 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.