5 Commits

Author SHA1 Message Date
John D. Pope
e8bea5a806 update 2021-07-06 00:29:23 +10:00
John D. Pope
889d19296c Github download link
the google drive keeps downloading a corrupting tar - github seems better.
2021-07-06 00:08:49 +10:00
Liu Ziang
fc4b701354 typo fix 2021-07-04 15:00:19 +08:00
Liu Ziang
0418e8dc69 Multi specific colab 2021-07-04 14:57:08 +08:00
Liu Ziang
5dda2974bc Update SimSwap colab.ipynb 2021-07-04 11:36:54 +08:00
4 changed files with 15 additions and 6 deletions

1
MultiSpecific.ipynb Normal file

File diff suppressed because one or more lines are too long

View File

@@ -17,6 +17,7 @@ Our paper can be downloaded from [[Arxiv]](https://arxiv.org/pdf/2106.06340v1.pd
***This project is for technical and academic use only. Please do not apply it to illegal and unethical scenarios.***
## Top News <img width=8% src="./docs/img/new.gif"/>
**`2021-07-04`**: A new Colab performing **multi specific** face video swapping has been added. You can check it out [here](https://colab.research.google.com/github/neuralchen/SimSwap/blob/main/MultiSpecific.ipynb)
**`2021-07-03`**: We add the scripts for **multi specific** face swapping, please go to [Inference for image or video face swapping](./docs/guidance/usage.md) for details.

View File

@@ -227,10 +227,13 @@
"from google_drive_downloader import GoogleDriveDownloader\n",
"\n",
"### it seems that google drive link may not be permenant, you can find this ID from our open url.\n",
"GoogleDriveDownloader.download_file_from_google_drive(file_id='1TLNdIufzwesDbyr_nVTR7Zrx9oRHLM_N',\n",
" dest_path='./arcface_model/arcface_checkpoint.tar')\n",
"GoogleDriveDownloader.download_file_from_google_drive(file_id='1PXkRiBUYbu1xWpQyDEJvGKeqqUFthJcI',\n",
" dest_path='./checkpoints.zip')\n",
"# GoogleDriveDownloader.download_file_from_google_drive(file_id='1TLNdIufzwesDbyr_nVTR7Zrx9oRHLM_N',\n",
"# dest_path='./arcface_model/arcface_checkpoint.tar')\n",
"# GoogleDriveDownloader.download_file_from_google_drive(file_id='1PXkRiBUYbu1xWpQyDEJvGKeqqUFthJcI',\n",
"# dest_path='./checkpoints.zip')\n",
"\n",
"!wget -P ./arcface_model https://github.com/neuralchen/SimSwap/releases/download/1.0/arcface_checkpoint.tar\n",
"!wget https://github.com/neuralchen/SimSwap/releases/download/1.0/checkpoints.zip\n",
"!unzip ./checkpoints.zip -d ./checkpoints"
],
"execution_count": 5,

View File

@@ -18,11 +18,15 @@ pip install insightface==0.2.1 onnxruntime moviepy
### Pretrained model
There are two archive files in the drive: **checkpoints.zip** and **arcface_checkpoint.tar**
- **Copy the arcface_checkpoint.tar into ./arcface_model**
- **Copy the arcface_checkpoint.tar into ./arcface_model** ( DON'T NEED TO EXTRACT THIS)
- **Unzip checkpoints.zip, place it in the root dir ./**
-
[[Github-arcface_model]](https://github.com/neuralchen/SimSwap/releases/download/1.0/arcface_checkpoint.tar)
[[Github-checkpoints]](https://github.com/neuralchen/SimSwap/releases/download/1.0/checkpoints.zip)
[[Google Drive]](https://drive.google.com/drive/folders/1jV6_0FIMPC53FZ2HzZNJZGMe55bbu17R?usp=sharing)
[[Baidu Drive]](https://pan.baidu.com/s/1wFV11RVZMHqd-ky4YpLdcA) Password: ```jd2v```
### Note
We expect users to have GPU with at least 8G memory. For those who do not, we provide [[Colab Notebook implementation]](https://colab.research.google.com/github/neuralchen/SimSwap/blob/main/SimSwap%20colab.ipynb).