File size: 447 Bytes
f670afc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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