Skip to content
Snippets Groups Projects
Commit c1bcf681 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Added script to just download weights

parent d0114496
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# First get hands on gdown -- google drive downloader
wget https://raw.githubusercontent.com/circulosmeos/gdown.pl/master/gdown.pl -O gdown.pl
chmod +x ./gdown.pl
# Download the zip file from google drive
./gdown.pl 'https://drive.google.com/file/d/1V_yd9sKcZQ7zhnO5YhRpOsaBPLEEvM9u' model_params.zip
unzip model_params.zip # should give a "model_params" folder
# All our benchmarks also know to look for parameters in <build_dir>/model_params.
# Cleanup:
rm gdown.pl model_params.zip
\ No newline at end of file
......@@ -256,17 +256,7 @@ if [ $DOWNLOAD_WEIGHTS == "y" ]; then
echo
echo "Downloading weights for DNN benchmarks..."
echo
# First get hands on gdown -- google drive downloader
wget https://raw.githubusercontent.com/circulosmeos/gdown.pl/master/gdown.pl -O gdown.pl
chmod +x ./gdown.pl
# Download the zip file from google drive
./gdown.pl 'https://drive.google.com/file/d/1V_yd9sKcZQ7zhnO5YhRpOsaBPLEEvM9u' model_params.zip
unzip model_params.zip # should give a "model_params" folder
mv model_params $BUILD_DIR
# All our benchmarks also know to look for parameters in <build_dir>/model_params.
# Cleanup:
rm gdown.pl model_params.zip
../scripts/download_weights.sh
else
echo "Skipping weight download"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment