Sod_Inpaint / download.sh
wenpeng's picture
update .gitignore
c7813b3
raw
history blame
914 Bytes
FILE_ID=1udSLeuWAZf2-uI7SI8dFEfBuyvLSpB9V
checkpoint_path='inpaint/weights.zip'
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=${FILE_ID}" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/
/p')&id=${FILE_ID}" -O ${checkpoint_path} && rm -rf /tmp/cookies.txt
unzip $checkpoint_path
FILE_ID=1qI8-HBTz2nNSTyD9iB4YMn067P7XMKuD
checkpoint_path='sod/weights.zip'
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=${FILE_ID}" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/
/p')&id=${FILE_ID}" -O ${checkpoint_path} && rm -rf /tmp/cookies.txt
unzip $checkpoint_path