源码下载地址:github.com/a312863063/seeprettyface-generator-wanghong
了解训练方法&获取训练集:www.seeprettyface.com
——————————————————————————————————

网红脸生成器

  这是一个用StyleGAN训练出的网红脸生成器,现将它开源分享出来,代码的下载地址在顶部。


生成示例

  

  单张样本

     【seeprettyface.com】开源源码:网红脸生成器


     【seeprettyface.com】开源源码:网红脸生成器


     【seeprettyface.com】开源源码:网红脸生成器

  高清版单张样本(512×512px SR)

    【seeprettyface.com】开源源码:网红脸生成器

    【seeprettyface.com】开源源码:网红脸生成器

    【seeprettyface.com】开源源码:网红脸生成器


概览(有筛选)

【seeprettyface.com】开源源码:网红脸生成器



运行代码

环境配置

  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. We recommend NVIDIA DGX-1 with 8 Tesla V100 GPUs.
  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



相关文章:

  • 2021-05-17
  • 2021-09-05
  • 2021-11-02
  • 2022-01-08
  • 2021-07-07
  • 2021-04-12
  • 2021-10-29
猜你喜欢
  • 2021-12-09
  • 2021-09-29
  • 2021-08-03
  • 2021-04-30
  • 2022-01-06
  • 2021-12-27
  • 2021-09-13
相关资源
相似解决方案