Last active
March 29, 2020 19:18
-
-
Save NuarkNoir/28b60ae8556984480c8422f3ea6990a9 to your computer and use it in GitHub Desktop.
File prepares AnimeGAN environment after you clonned repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL=https://github.com/TachibanaYoshino/AnimeGAN/releases/download/Haoyao-style_V1.0/Haoyao-style.zip | |
ZIP_FILE=./checkpoint/Haoyao-style.zip | |
TARGET_DIR=./checkpoint/saved_model | |
mkdir -p ./checkpoint | |
wget -N $URL -O $ZIP_FILE | |
mkdir -p $TARGET_DIR | |
unzip $ZIP_FILE -d $TARGET_DIR | |
rm $ZIP_FILE | |
DatesetURL=https://github.com/TachibanaYoshino/AnimeGAN/releases/download/dataset-1/dataset.zip | |
ZIP_FILE=./dataset.zip | |
TARGET_DIR=./dataset | |
rm -rf dataset | |
wget -N $DatesetURL -O $ZIP_FILE | |
unzip $ZIP_FILE -d $TARGET_DIR | |
rm $ZIP_FILE | |
VGG_URL=https://github.com/TachibanaYoshino/AnimeGAN/releases/download/vgg16%2F19.npy/vgg19.npy | |
VGG_FILE=./vgg19_weight/vgg19.npy | |
wget -N $VGG_URL -O $VGG_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment