Skip to content

Commit

Permalink
adding guidance for 'wget: command not found' (#18)
Browse files Browse the repository at this point in the history
* adding guidance for 'wget: command not found'

* just in case, the error message itself
  • Loading branch information
v-iashin authored Jan 25, 2021
1 parent 193faaa commit 3418fdf
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion download_data.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# checking if wget is installed on a computer
if ! command -v wget &> /dev/null
then
echo "wget: command not found"
echo ""
echo "wget command could not be found on your computer. Please, install it first."
echo "If you cannot/dontwantto install wget, you may try to download the features manually."
echo "You may find the links and correct paths in this file."
echo "Make sure to check the md5 sums after manual download:"
echo "./data/i3d_25fps_stack64step64_2stream_npy.zip d7266e440f8c616acbc0d8aaa4a336dc"
echo "./data/vggish_npy.zip 9a654ad785e801aceb70af2a5e1cffbe"
echo "./.vector_cache/glove.840B.300d.zip 2ffafcc9f9ae46fc8c95f32372976137"
exit
fi


echo "Downloading i3d features"
cd data/
wget https://a3s.fi/swift/v1/AUTH_a235c0f452d648828f745589cde1219a/bmt/i3d_25fps_stack64step64_2stream_npy.zip -q --show-progress
Expand Down Expand Up @@ -43,4 +59,4 @@ unzip -q i3d_25fps_stack64step64_2stream_npy.zip
echo "Unpacking vggish features"
unzip -q vggish_npy.zip

echo "Done"
echo "Done"

0 comments on commit 3418fdf

Please sign in to comment.