Skip to content

Commit

Permalink
Issue #3: Update documentation and sample script to account for ESC-1…
Browse files Browse the repository at this point in the history
…0 having been merged with ESC-50
  • Loading branch information
Michael Freitag committed Feb 23, 2018
1 parent 1bebfc1 commit 28bb187
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -110,8 +110,11 @@ Representation learning with auDeep is performed in several distinct stages.
We use the [ESC-10 data set](https://github.com/karoldvl/ESC-10) for environmental sound classification in this guide, which contains 400 instances from 10 classes. In the command line, navigate to a directory of your choice. In the following, we will assume that any commands are executed from the directory you choose in this step. Retrieve the ESC-10 data set from Github with
```
> git clone https://github.com/karoldvl/ESC-10.git
> pushd ESC-10
> git checkout 553c8f1743b9dba6b282e1323c3ca8fa76923448
> popd
```
This will store the data set in a subfolder called `ESC-10`.
This will store the data set in a subfolder called `ESC-10`. As the original ESC-10 repository has been merged with the ESC-50 repository, we have to manually checkout the correct commit.

## Extracting Spectrograms
First of all, we need to extract spectrograms and some metadata from the raw audio files we downloaded during the previous step. In order to get a general overview of the audio files contained in a data set, we can use the following command.
Expand Down
3 changes: 3 additions & 0 deletions samples/esc-10.sh
Expand Up @@ -57,6 +57,9 @@ fi
if [ ${download_data} == "true" ]; then
echo "Retrieving ESC-10 data set from https://github.com/karoldvl/ESC-10.git"
git clone "https://github.com/karoldvl/ESC-10.git" ${audio_base}
pushd ${audio_base}
git checkout 553c8f1743b9dba6b282e1323c3ca8fa76923448
popd
fi

# Check if auDeep has been properly installed
Expand Down

0 comments on commit 28bb187

Please sign in to comment.