sat3density / scripts /download_weights.sh
venite's picture
initial
f670afc
raw
history blame
447 Bytes
CHECKPOINTS="run-20230219_141512-2u87bj8w.zip"
if [ ! -d "wandb" ]; then
mkdir wandb
fi
for checkpoint in $CHECKPOINTS ; do
echo "Downloading $checkpoint";
if [ ! -f "wandb/$checkpoint" ]; then
wget https://github.com/sat2density/checkpoints/releases/download/cvusa/$checkpoint -P wandb
fi
echo "Unzipping $checkpoint";
if [ ! -d "wandb/${checkpoint%.*}" ]; then
unzip wandb/$checkpoint -d wandb
fi
done