Compare commits
5 Commits
1.0
...
johndpope/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8bea5a806 | ||
|
|
889d19296c | ||
|
|
fc4b701354 | ||
|
|
0418e8dc69 | ||
|
|
5dda2974bc |
1
MultiSpecific.ipynb
Normal file
1
MultiSpecific.ipynb
Normal file
File diff suppressed because one or more lines are too long
@@ -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.
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user