Skip to content

Commit

Permalink
Merge pull request #234 from fanlai0990/master
Browse files Browse the repository at this point in the history
[Dataset] Fix speech download path
  • Loading branch information
fanlai0990 committed Sep 3, 2023
2 parents 407efad + de296b5 commit 6872099
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions benchmark/dataset/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ speech()
if [ ! -d "${DIR}/speech_commands/train/" ];
then
echo "Downloading Speech Commands dataset(about 2.4GB)..."
wget -O ${DIR}/speech_commands/google_speech.tar.gz https://fedscale.eecs.umich.edu/dataset/google_speech.tar.gz
wget -O ${DIR}/google_speech.tar.gz https://fedscale.eecs.umich.edu/dataset/google_speech.tar.gz

echo "Dataset downloaded, now decompressing..."
tar -xf ${DIR}/speech_commands/google_speech.tar.gz -C ${DIR}
tar -xf ${DIR}/google_speech.tar.gz -C ${DIR}

echo "Removing compressed file..."
rm -f ${DIR}/speech_commands/google_speech.tar.gz
rm -f ${DIR}/google_speech.tar.gz

echo -e "${GREEN}Speech Commands dataset downloaded!${NC}"
else
Expand Down Expand Up @@ -584,3 +584,4 @@ case "$1" in
Help
;;
esac

0 comments on commit 6872099

Please sign in to comment.