|
@@ -227,10 +227,13 @@
|
|
"from google_drive_downloader import GoogleDriveDownloader\n",
|
|
"from google_drive_downloader import GoogleDriveDownloader\n",
|
|
"\n",
|
|
"\n",
|
|
"### it seems that google drive link may not be permenant, you can find this ID from our open url.\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"
|
|
"!unzip ./checkpoints.zip -d ./checkpoints"
|
|
],
|
|
],
|
|
"execution_count": 5,
|
|
"execution_count": 5,
|