2022-06-02 13:39:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Run this script from the project root.
|
|
|
|
URL="https://pl-public-data.s3.amazonaws.com/legacy/checkpoints.zip"
|
2022-06-15 22:10:49 +00:00
|
|
|
mkdir -p tests/legacy
|
2022-06-02 13:39:14 +00:00
|
|
|
# wget is simpler but does not work on Windows
|
2022-06-15 22:10:49 +00:00
|
|
|
python -c "from urllib.request import urlretrieve; urlretrieve('$URL', 'tests/legacy/checkpoints.zip')"
|
|
|
|
ls -l tests/legacy/
|
|
|
|
unzip -o tests/legacy/checkpoints.zip -d tests/legacy/
|
|
|
|
ls -l tests/legacy/checkpoints/
|