源碼下載地址:github.com/a312863063/seeprettyface-generator-wanghong
瞭解訓練方法&獲取訓練集:www.seeprettyface.com
——————————————————————————————————
網紅臉生成器
這是一個用StyleGAN訓練出的網紅臉生成器,現將它開源分享出來,代碼的下載地址在頂部。
生成示例
256px單張樣本
1024px單張樣本
概覽(有篩選)
運行代碼
環境配置
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