From 3347bbb1d6ff714c61ecb4e2058346bae61b368a Mon Sep 17 00:00:00 2001 From: Kevin Unger Date: Thu, 29 Jun 2023 16:18:46 +0200 Subject: [PATCH] rm bat/sh download script --- scripts/download_model.bat | 23 ----------------------- scripts/download_model.sh | 19 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 scripts/download_model.bat delete mode 100644 scripts/download_model.sh diff --git a/scripts/download_model.bat b/scripts/download_model.bat deleted file mode 100644 index 67101d4..0000000 --- a/scripts/download_model.bat +++ /dev/null @@ -1,23 +0,0 @@ -@echo off -mkdir checkpoints -cd checkpoints - -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/lions_512_pytorch.pkl', 'lions_512_pytorch.pkl')" -ren lions_512_pytorch.pkl stylegan2_lions_512_pytorch.pkl - -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/dogs_1024_pytorch.pkl', 'dogs_1024_pytorch.pkl')" -ren dogs_1024_pytorch.pkl stylegan2_dogs_1024_pytorch.pkl - -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/horses_256_pytorch.pkl', 'horses_256_pytorch.pkl')" -ren horses_256_pytorch.pkl stylegan2_horses_256_pytorch.pkl - -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/elephants_512_pytorch.pkl', 'elephants_512_pytorch.pkl')" -ren elephants_512_pytorch.pkl stylegan2_elephants_512_pytorch.pkl - -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-ffhq-512x512.pkl', 'stylegan2-ffhq-512x512.pkl')" -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-afhqcat-512x512.pkl', 'stylegan2-afhqcat-512x512.pkl')" -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl', 'stylegan2-car-config-f.pkl')" -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl', 'stylegan2-cat-config-f.pkl')" - -echo "Done" -pause diff --git a/scripts/download_model.sh b/scripts/download_model.sh deleted file mode 100644 index 4d2dccc..0000000 --- a/scripts/download_model.sh +++ /dev/null @@ -1,19 +0,0 @@ -mkdir checkpoints -cd checkpoints - -wget https://storage.googleapis.com/self-distilled-stylegan/lions_512_pytorch.pkl -mv lions_512_pytorch.pkl stylegan2_lions_512_pytorch.pkl - -wget https://storage.googleapis.com/self-distilled-stylegan/dogs_1024_pytorch.pkl -mv dogs_1024_pytorch.pkl stylegan2_dogs_1024_pytorch.pkl - -wget https://storage.googleapis.com/self-distilled-stylegan/horses_256_pytorch.pkl -mv horses_256_pytorch.pkl stylegan2_horses_256_pytorch.pkl - -wget https://storage.googleapis.com/self-distilled-stylegan/elephants_512_pytorch.pkl -mv elephants_512_pytorch.pkl stylegan2_elephants_512_pytorch.pkl - -wget https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-ffhq-512x512.pkl -wget https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-afhqcat-512x512.pkl -wget http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl -wget http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl