Datasets:
Duplicate from danavery/urbansound8K
Browse filesCo-authored-by: Dan Avery <danavery@users.noreply.huggingface.co>
- .gitattributes +55 -0
- README.md +124 -0
- UrbanSound8K.csv +0 -0
- data/train-00000-of-00016-e478d7cccca6a095.parquet +3 -0
- data/train-00001-of-00016-299138aa39afaa06.parquet +3 -0
- data/train-00002-of-00016-887e0748205b6fa9.parquet +3 -0
- data/train-00003-of-00016-691ee48aa53d9c1f.parquet +3 -0
- data/train-00004-of-00016-c0f37514d8e28a72.parquet +3 -0
- data/train-00005-of-00016-55ef1a0a51149c01.parquet +3 -0
- data/train-00006-of-00016-0ef363072505e6d5.parquet +3 -0
- data/train-00007-of-00016-dfac173beb21e5db.parquet +3 -0
- data/train-00008-of-00016-2744487f32f65d77.parquet +3 -0
- data/train-00009-of-00016-83fc7364d4798177.parquet +3 -0
- data/train-00010-of-00016-4c1d0e285ed77843.parquet +3 -0
- data/train-00011-of-00016-79d186503a26671b.parquet +3 -0
- data/train-00012-of-00016-6aff88fdcca22918.parquet +3 -0
- data/train-00013-of-00016-17d827b1a5be0423.parquet +3 -0
- data/train-00014-of-00016-c630762df85f6cf4.parquet +3 -0
- data/train-00015-of-00016-03506887d89adfc9.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-nc-4.0
|
| 5 |
+
size_categories:
|
| 6 |
+
- 1K<n<10K
|
| 7 |
+
task_categories:
|
| 8 |
+
- audio-classification
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: default
|
| 11 |
+
data_files:
|
| 12 |
+
- split: train
|
| 13 |
+
path: data/train-*
|
| 14 |
+
dataset_info:
|
| 15 |
+
features:
|
| 16 |
+
- name: audio
|
| 17 |
+
dtype: audio
|
| 18 |
+
- name: slice_file_name
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: fsID
|
| 21 |
+
dtype: int64
|
| 22 |
+
- name: start
|
| 23 |
+
dtype: float64
|
| 24 |
+
- name: end
|
| 25 |
+
dtype: float64
|
| 26 |
+
- name: salience
|
| 27 |
+
dtype: int64
|
| 28 |
+
- name: fold
|
| 29 |
+
dtype: int64
|
| 30 |
+
- name: classID
|
| 31 |
+
dtype: int64
|
| 32 |
+
- name: class
|
| 33 |
+
dtype: string
|
| 34 |
+
splits:
|
| 35 |
+
- name: train
|
| 36 |
+
num_bytes: 7605141208.66
|
| 37 |
+
num_examples: 8732
|
| 38 |
+
download_size: 6998085428
|
| 39 |
+
dataset_size: 7605141208.66
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
(card and dataset copied from https://www.kaggle.com/datasets/chrisfilo/urbansound8k)
|
| 43 |
+
|
| 44 |
+
This dataset contains 8732 labeled sound excerpts (<=4s) of urban sounds from 10 classes: `air_conditioner`, `car_horn`, `children_playing`, `dog_bark`, `drilling`, `enginge_idling`, `gun_shot`, `jackhammer`, `siren`, and `street_music`. The classes are drawn from the urban sound taxonomy. For a detailed description of the dataset and how it was compiled please refer to our paper.All excerpts are taken from field recordings uploaded to www.freesound.org. The files are pre-sorted into ten folds (folders named fold1-fold10) to help in the reproduction of and comparison with the automatic classification results reported in the article above.
|
| 45 |
+
|
| 46 |
+
In addition to the sound excerpts, a CSV file containing metadata about each excerpt is also provided.
|
| 47 |
+
|
| 48 |
+
## AUDIO FILES INCLUDED
|
| 49 |
+
|
| 50 |
+
8732 audio files of urban sounds (see description above) in WAV format. The sampling rate, bit depth, and number of channels are the same as those of the original file uploaded to Freesound (and hence may vary from file to file).
|
| 51 |
+
|
| 52 |
+
## META-DATA FILES INCLUDED
|
| 53 |
+
|
| 54 |
+
```
|
| 55 |
+
UrbanSound8k.csv
|
| 56 |
+
|
| 57 |
+
```
|
| 58 |
+
This file contains meta-data information about every audio file in the dataset. This includes:
|
| 59 |
+
|
| 60 |
+
* slice_file_name:
|
| 61 |
+
The name of the audio file. The name takes the following format: [fsID]-[classID]-[occurrenceID]-[sliceID].wav, where:
|
| 62 |
+
[fsID] = the Freesound ID of the recording from which this excerpt (slice) is taken
|
| 63 |
+
[classID] = a numeric identifier of the sound class (see description of classID below for further details)
|
| 64 |
+
[occurrenceID] = a numeric identifier to distinguish different occurrences of the sound within the original recording
|
| 65 |
+
[sliceID] = a numeric identifier to distinguish different slices taken from the same occurrence
|
| 66 |
+
|
| 67 |
+
* fsID:
|
| 68 |
+
The Freesound ID of the recording from which this excerpt (slice) is taken
|
| 69 |
+
|
| 70 |
+
* start
|
| 71 |
+
The start time of the slice in the original Freesound recording
|
| 72 |
+
|
| 73 |
+
* end:
|
| 74 |
+
The end time of slice in the original Freesound recording
|
| 75 |
+
|
| 76 |
+
* salience:
|
| 77 |
+
A (subjective) salience rating of the sound. 1 = foreground, 2 = background.
|
| 78 |
+
|
| 79 |
+
* fold:
|
| 80 |
+
The fold number (1-10) to which this file has been allocated.
|
| 81 |
+
|
| 82 |
+
* classID:
|
| 83 |
+
A numeric identifier of the sound class:
|
| 84 |
+
0 = air_conditioner
|
| 85 |
+
1 = car_horn
|
| 86 |
+
2 = children_playing
|
| 87 |
+
3 = dog_bark
|
| 88 |
+
4 = drilling
|
| 89 |
+
5 = engine_idling
|
| 90 |
+
6 = gun_shot
|
| 91 |
+
7 = jackhammer
|
| 92 |
+
8 = siren
|
| 93 |
+
9 = street_music
|
| 94 |
+
|
| 95 |
+
* class:
|
| 96 |
+
The class name: air_conditioner, car_horn, children_playing, dog_bark, drilling, engine_idling, gun_shot, jackhammer,
|
| 97 |
+
siren, street_music.
|
| 98 |
+
|
| 99 |
+
## BEFORE YOU DOWNLOAD: AVOID COMMON PITFALLS!
|
| 100 |
+
|
| 101 |
+
Since releasing the dataset we have noticed a couple of common mistakes that could invalidate your results, potentially leading to manuscripts being rejected or the publication of incorrect results. To avoid this, please read the following carefully:
|
| 102 |
+
|
| 103 |
+
1. Don't reshuffle the data! Use the predefined 10 folds and perform 10-fold (not 5-fold) cross validation
|
| 104 |
+
The experiments conducted by vast majority of publications using UrbanSound8K (by ourselves and others) evaluate classification models via 10-fold cross validation using the predefined splits*. We strongly recommend following this procedure.
|
| 105 |
+
|
| 106 |
+
Why?
|
| 107 |
+
If you reshuffle the data (e.g. combine the data from all folds and generate a random train/test split) you will be incorrectly placing related samples in both the train and test sets, leading to inflated scores that don't represent your model's performance on unseen data. Put simply, your results will be wrong.
|
| 108 |
+
Your results will NOT be comparable to previous results in the literature, meaning any claims to an improvement on previous research will be invalid. Even if you don't reshuffle the data, evaluating using different splits (e.g. 5-fold cross validation) will mean your results are not comparable to previous research.
|
| 109 |
+
|
| 110 |
+
2. Don't evaluate just on one split! Use 10-fold (not 5-fold) cross validation and average the scores
|
| 111 |
+
We have seen reports that only provide results for a single train/test split, e.g. train on folds 1-9, test on fold 10 and report a single accuracy score. We strongly advise against this. Instead, perform 10-fold cross validation using the provided folds and report the average score.
|
| 112 |
+
|
| 113 |
+
Why?
|
| 114 |
+
Not all the splits are as \"easy\". That is, models tend to obtain much higher scores when trained on folds 1-9 and tested on fold 10, compared to (e.g.) training on folds 2-10 and testing on fold 1. For this reason, it is important to evaluate your model on each of the 10 splits and report the average accuracy.
|
| 115 |
+
Again, your results will NOT be comparable to previous results in the literature.
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
## Acknowledgements
|
| 119 |
+
|
| 120 |
+
We kindly request that articles and other works in which this dataset is used cite the following paper:
|
| 121 |
+
|
| 122 |
+
J. Salamon, C. Jacoby and J. P. Bello, \"A Dataset and Taxonomy for Urban Sound Research\", 22nd ACM International Conference on Multimedia, Orlando USA, Nov. 2014.
|
| 123 |
+
|
| 124 |
+
More information at https://urbansounddataset.weebly.com/urbansound8k.html
|
UrbanSound8K.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/train-00000-of-00016-e478d7cccca6a095.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d5652afc50227953e5b5a115671200960bb9ed84faf22c0e18b357aef75a9e8
|
| 3 |
+
size 434275620
|
data/train-00001-of-00016-299138aa39afaa06.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fedd416e5c4c142b870f247539fb9eccd4475fa173ca5e7c17a8225c2f9d42c
|
| 3 |
+
size 471738411
|
data/train-00002-of-00016-887e0748205b6fa9.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c5f485475eaa8e98b34a60672e8ec84cd0f0273cea2d14d08548f170b9472ff
|
| 3 |
+
size 384473653
|
data/train-00003-of-00016-691ee48aa53d9c1f.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dc6e499d56231506f9aa3200b9bb94efc9bf539bdcd39da36920530c0a4bdba
|
| 3 |
+
size 446631302
|
data/train-00004-of-00016-c0f37514d8e28a72.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4e26ae5b3e279f0594919ecb20e76ea066ae7c182257bed4b5859cabbabdb36
|
| 3 |
+
size 440755027
|
data/train-00005-of-00016-55ef1a0a51149c01.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:818abd43a1438992128239f5dbf1237b050430eb989fd309e4fd7d079bdb7444
|
| 3 |
+
size 590692955
|
data/train-00006-of-00016-0ef363072505e6d5.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:749dee49857be2a193229df91841d23abe8ffff127c1df0ac86a59a1a5d164d4
|
| 3 |
+
size 496010209
|
data/train-00007-of-00016-dfac173beb21e5db.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1348812a6be8d78a049bf1213c34d6782e6793ac2b4c234d82a2d0e17bc8a576
|
| 3 |
+
size 588014467
|
data/train-00008-of-00016-2744487f32f65d77.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32eb6572ed50f24400eeb0c761401e910a221075a3e0881648b99611b30b4b38
|
| 3 |
+
size 493071580
|
data/train-00009-of-00016-83fc7364d4798177.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2e2b72e46d02cfdd928211ae737c7027184974995da8e6762fb5645ca676da9
|
| 3 |
+
size 548652012
|
data/train-00010-of-00016-4c1d0e285ed77843.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfac54a5380864ca86f38f4bea1b26e0bd4bd0a21fa83d2e0a395606a7459be9
|
| 3 |
+
size 352657350
|
data/train-00011-of-00016-79d186503a26671b.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9bee19e8fdaee4e505ad7bc8a5ba7c1dce10aa154f4b66f2d04bb8b4d2992d8
|
| 3 |
+
size 315520545
|
data/train-00012-of-00016-6aff88fdcca22918.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:055085e1b672d91c664b1328a5b8188f48bdb173dbe6c045fa36ccd17ad78e92
|
| 3 |
+
size 372242219
|
data/train-00013-of-00016-17d827b1a5be0423.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eec11c50633940908af05ae1e3dd0a008b88def7b20a770010ad99ae3c0ed71d
|
| 3 |
+
size 347967959
|
data/train-00014-of-00016-c630762df85f6cf4.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4abfd51cea4659705f49ed27c729704fa6b7259b7975dbdfb3e5a5247940aadb
|
| 3 |
+
size 380720481
|
data/train-00015-of-00016-03506887d89adfc9.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cc13a2bcf86ce56e8b76bf1b7ee2ccb6f63690e494090e3450427007df46062
|
| 3 |
+
size 334661638
|