Update SimSwap colab.ipynb

This commit is contained in:
Liu Ziang
2021-07-04 11:36:54 +08:00
parent 9bd2e11f03
commit 5dda2974bc
+7 -4
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,