← Open Source

Faceswap with Pytorch or DeepFake with Pytorch.

ApplicationsContent creationPython
Momentum
+-1stars in 24 hours-0.2%
535
Stars
158
Forks
+-1
This week
1
Contributors
Created 2018-04-16 · Updated 2026-12-05 · #29371 today
Top developers
Oldpan
README

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.

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:

Python == 3.6
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.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store