summaryrefslogtreecommitdiff
path: root/Codes/checkpoints/download_pretrains.sh
blob: 6c3d911b869508da68794130dc5ac5afdaa843f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

echo "Downloading trained models on ped1, ped2 and avenue datasets ....."

wget "https://ofhz9a.bn.files.1drv.com/y4m5lC_SnkDiTcKjKEiue7uKKHX_jM7LojjlsjpurNHC8gkOj0MjgqdKrj6YJwLNFMAb649j07rheaBeS-B8JmYwGc3wy6Zb7T0ICYBzz9PdheTGxHWGsLCxJ7MpaA4Rj6V0KmtAyoUYbdeNQVWEAPAZtVn1ikrdslLVVvKB1doyWRaTnIKjCiXIybbXG-6VtZ4uw10H_PrBFTEq6cBeqr2CQ/pretrains.tar.gz?download&psid=1"
mv "pretrains.tar.gz?download&psid=1" pretrains.tar.gz
tar -xvf pretrains.tar.gz
rm pretrains.tar.gz

echo "Download pretrains successfully..."

echo "If encounters any ERRORS(I guess the download link in shell script is not permanent),
please manually download pretrains.tar.gz from https://onedrive.live.com/?authkey=%21AMqh2fTSemfrokE&id=3705E349C336415F%215109&cid=3705E349C336415F
and run the following commands:

tar -xvf pretrains.tar.gz
rm pretrains.tar.gz

make sure the pretrains is under the director of Codes/checkpoints.
"