← 开源
YuvalNirkin

fsgan

FSGAN - Official PyTorch Implementation

ModelsVision modelsJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
778
Star
147
Fork
+0
本周
3
贡献者
创建于 2020-04-03 · 更新于 2026-09-28 · 今日第 13914 名
主要开发者
YuvalNirkincg-yuvalSajjadAemmi

YuvalNirkin/fsgan 排名第 13,914,有 778 个星标。

同类别比较

YuvalNirkin/fsgan 排名第 13,914,此处有 8 个同类条目;black-forest-labs/Self-Flow 排名第 13,917。

同类别比较
名称排名指标
ankandrew/fast-plate-ocr13,895
语言:
Python
星标数:
780
分叉数:
102
简介:
Lightweight & fast OCR models for license plate text recognition.
facebookresearch/contriever13,897
语言:
Python
星标数:
780
分叉数:
69
简介:
Contriever: Unsupervised Dense Information Retrieval with Contrastive Learning
jerryji1993/DNABERT13,898
语言:
Python
星标数:
780
分叉数:
180
简介:
DNABERT: pre-trained Bidirectional Encoder Representations from Transformers model for DNA-language in genome
Boese0601/MagicDance13,910
语言:
Python
星标数:
778
分叉数:
64
简介:
[ICML 2024] MagicPose(also known as MagicDance): Realistic Human Poses and Facial Expressions Retargeting with Identity-aware Diffusion
black-forest-labs/Self-Flow13,917
语言:
Python
星标数:
778
分叉数:
27
简介:
[ICML'26] Code and website for Self-Flow: Self-Supervised Flow Matching for Scalable Multi-Modal Synthesis
bryanswkim/Chain-of-Zoom13,919
语言:
Python
星标数:
778
分叉数:
76
简介:
[NeurIPS'25 Spotlight] Official repository for "Chain-of-Zoom: Extreme Super-Resolution via Scale Autoregression and Preference Alignment"
bytedance/ibot13,920
语言:
Jupyter Notebook
星标数:
778
分叉数:
93
简介:
iBOT :robot:: Image BERT Pre-Training with Online Tokenizer (ICLR 2022)
youngwanLEE/centermask213,928
语言:
Python
星标数:
778
分叉数:
154
简介:
[CVPR 2020] CenterMask : Real-time Anchor-Free Instance Segmentation
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Models
子类别Vision models
星标数778
分叉数147
贡献者3
创建日期2020-04-03
更新日期2026-09-28
1 天星标数0
7 天星标数0
排名13,914
上次排名13,797
排名变化-117
7 天星标排名14,184
上次 7 天星标排名14,203
7 天星标排名变化19
总星标排名13,647
上次总星标排名13,632
总星标排名变化-15
国家Israel
README 摘录

FSGAN - Official PyTorch Implementation Example video face swapping: Barack Obama to Benjamin Netanyahu, Shinzo Abe to Theresa May, and Xi Jinping to Justin Trudeau. This repository contains the source code for the video face swapping and face reenactment method described in the paper: **FSGAN: Subject Agnostic Face Swapping and Reenactment** *International Conference on Computer Vision (ICCV), Seoul, Korea, 2019* Yuval Nirkin, Yosi Keller, Tal Hassner Paper Video **Abstract:** *We present Face Swapping GAN (FSGAN) for face swapping and reenactment. Unlike

previous work, FSGAN is subject agnostic and can be applied to pairs of faces without requiring training on those faces. To this end, we describe a number of technical contributions. We derive a novel recurrent neural network (RNN)–based approach for face reenactment which adjusts for both pose and expression variations and can be applied to a single image or a video sequence. For video sequences, we introduce continuous interpolation of the face views based on reenactment, Delaunay Triangulation, and

barycentric coordinates. Occluded face regions are handled by a face completion network. Finally, we use a face blending network for seamless blending of the two faces while preserving target skin color and lighting conditions. This network uses a novel Poisson blending loss which combines Poisson optimization with perceptual loss. We compare our approach to existing state-of-the-art systems and show our results to be both qualitatively and quantitatively superior. * Important note **THE METHODS PROVIDED IN THIS REPOSITORY ARE

NOT TO BE USED FOR MALICIOUS OR INAPPROPRIATE USE CASES. ** We release this code in order to help facilitate research of technical counter-measures for detecting this kind of forgeries. Suppressing this kind of publications will not stop their development but will only make it more difficult to detect them. Please note this is a work in progress, while we make every effort to improve the results of this method, not every pair of faces can produce a high quality

face swap. Requirements High-end NVIDIA GPUs with at least 11GB of DRAM. We recommend Linux for better performance. Installation Run the following command to download FSGAN's pretrained models: Inference Face swapping guide Face swapping Google Colab Paper models guide Training Training V2 Comparison on FaceForensics++ To make it easier to compare against FSGAN, we have provided the FSGAN (original paper) results on the FaceForensics++ dataset for both the C23 and C40 compressions: FaceForensics++ FSGANv1 C40 FaceForensics++ FSGANv1 C23 (part

1) FaceForensics++ FSGANv1 C23 (part 2) Citation

常见问题

记录了多少星标和分叉?

YuvalNirkin/fsgan 有 778 个星标和 147 个分叉。

仓库排名是多少?

YuvalNirkin/fsgan 排名第 13,914。

记录的语言和类别是什么?

YuvalNirkin/fsgan 有 778 个星标,语言为 Jupyter Notebook,类别为 Models。

哪个仓库排名最接近?

YuvalNirkin/fsgan 与 black-forest-labs/Self-Flow 比较,后者排名第 13,917,有 778 个星标。

README

FSGAN - Official PyTorch Implementation

Example video face swapping: Barack Obama to Benjamin Netanyahu, Shinzo Abe to Theresa May, and Xi Jinping to Justin Trudeau.

This repository contains the source code for the video face swapping and face reenactment method described in the paper:

FSGAN: Subject Agnostic Face Swapping and Reenactment
International Conference on Computer Vision (ICCV), Seoul, Korea, 2019
Yuval Nirkin, Yosi Keller, Tal Hassner
Paper   Video

Abstract: We present Face Swapping GAN (FSGAN) for face swapping and reenactment. Unlike previous work, FSGAN is subject agnostic and can be applied to pairs of faces without requiring training on those faces. To this end, we describe a number of technical contributions. We derive a novel recurrent neural network (RNN)–based approach for face reenactment which adjusts for both pose and expression variations and can be applied to a single image or a video sequence. For video sequences, we introduce continuous interpolation of the face views based on reenactment, Delaunay Triangulation, and barycentric coordinates. Occluded face regions are handled by a face completion network. Finally, we use a face blending network for seamless blending of the two faces while preserving target skin color and lighting conditions. This network uses a novel Poisson blending loss which combines Poisson optimization with perceptual loss. We compare our approach to existing state-of-the-art systems and show our results to be both qualitatively and quantitatively superior.

Important note

THE METHODS PROVIDED IN THIS REPOSITORY ARE NOT TO BE USED FOR MALICIOUS OR INAPPROPRIATE USE CASES.
We release this code in order to help facilitate research of technical counter-measures for detecting this kind of forgeries. Suppressing this kind of publications will not stop their development but will only make it more difficult to detect them.

Please note this is a work in progress, while we make every effort to improve the results of this method, not every pair of faces can produce a high quality face swap.

Requirements

  • High-end NVIDIA GPUs with at least 11GB of DRAM.
  • Either Linux or Windows. We recommend Linux for better performance.
  • CUDA Toolkit 10.1+, CUDNN 7.5+, and the latest NVIDIA driver.

Installation

git clone https://github.com/YuvalNirkin/fsgan
cd fsgan
conda env create -f fsgan_env.yml
conda activate fsgan
pip install .    # Alternatively add the root directory of the repository to PYTHONPATH.

Run the following command to download FSGAN's pretrained models:

python download_fsgan_models.py   # From the repository root directory

Inference

Training

Comparison on FaceForensics++

To make it easier to compare against FSGAN, we have provided the FSGAN (original paper) results on the FaceForensics++ dataset for both the C23 and C40 compressions:

Citation

@inproceedings{nirkin2019fsgan,
  title={{FSGAN}: Subject agnostic face swapping and reenactment},
  author={Nirkin, Yuval and Keller, Yosi and Hassner, Tal},
  booktitle={Proceedings of the IEEE International Conference on Computer Vision},
  pages={7184--7193},
  year={2019}
}

@inproceedings{nirkin2022fsganv2,
  title={{FSGANv2}: Improved Subject Agnostic Face Swapping and Reenactment},
  author={Nirkin, Yuval and Keller, Yosi and Hassner, Tal},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2022},
  publisher={IEEE}
}
排名相邻
同类项目