Create a simple script to download models.
This commit is contained in:
12
data/download_models.sh
Executable file
12
data/download_models.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Make sure we're in the right directory
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")" || (echo "Could not change dir" && exit 1)
|
||||
pwd
|
||||
|
||||
for modeldir in models/*; do
|
||||
pushd "$modeldir"
|
||||
wget --continue -i weights_url -N
|
||||
popd
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user