Liu Ziang 4 лет назад
Родитель
Сommit
5dda2974bc
1 измененных файлов с 7 добавлено и 4 удалено
  1. 7 4
      SimSwap colab.ipynb

+ 7 - 4
SimSwap colab.ipynb

@@ -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,