项目作者: Oldpan

项目描述 :
Faceswap with Pytorch or DeepFake with Pytorch
高级语言: Python
项目地址: git://github.com/Oldpan/Faceswap-Deepfake-Pytorch.git
创建时间: 2018-04-16T07:49:18Z
项目社区:https://github.com/Oldpan/Faceswap-Deepfake-Pytorch

开源协议:

下载


faceswap-pytorch

Deepfakes_Faceswap using pytorch JUST FOR STUDY AND RESEARCH

This is pytorch version compared with https://github.com/joshua-wu/deepfakes_faceswap which using Keras.

Processing image

Source code you can download directly from the github page.

Source code,training images and trained model(~300MB):

https://pan.baidu.com/s/197RIMB_Po96RZNFzV-wqjA PW : z4wa

Requirement:

  1. Python == 3.6
  2. pytorch >= 0.4.0

pytorch-1.0 is supported.
You need a modern GPU and CUDA support for better performance.

How to run:

python train.py for simple run

if you don’t use trained model,only after about 1000 epoch can you see the result and after 10000 epoch the result is the same with the above picture.

ps : The Pytorch trains a little faster than Keras using tf backend.