File size: 339 Bytes
2bb76b3
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FILE=$1

echo "Note: available models are edges2shoes, sat2map, map2sat, facades_label2photo, and day2night"
echo "Specified [$FILE]"

mkdir -p ./checkpoints/${FILE}_pretrained
MODEL_FILE=./checkpoints/${FILE}_pretrained/latest_net_G.pth
URL=http://efrosgans.eecs.berkeley.edu/pix2pix/models-pytorch/$FILE.pth

wget -N $URL -O $MODEL_FILE