Spaces:
Runtime error
Runtime error
first commit
Browse files- README-Copy1.md +13 -0
- air-conditioner.wav +0 -0
- article.md +15 -0
- car-horn.wav +0 -0
- children_playing.wav +0 -0
- dog_bark.wav +0 -0
- drilling.wav +0 -0
- engine-idiling.wav +0 -0
- export.pkl +3 -0
- gun-shot.wav +0 -0
- jackhammer.wav +0 -0
- requirements.txt +5 -0
- siren.wav +0 -0
- street-music.wav +0 -0
- untitled.txt +0 -0
README-Copy1.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: UbranSounds8K
|
3 |
+
emoji: 🏃
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.0.3
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: gpl
|
11 |
+
---
|
12 |
+
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference
|
air-conditioner.wav
ADDED
Binary file (706 kB). View file
|
|
article.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Dataset for this - https://urbansounddataset.weebly.com/urbansound8k.html
|
3 |
+
|
4 |
+
Classical approaches on this dataset as of 2019 - https://www.researchgate.net/publication/335862311_Evaluation_of_Classical_Machine_Learning_Techniques_towards_Urban_Sound_Recognition_on_Embedded_Systems
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
#Fast.ai was used to train this classifier with a Resnet34 vision learner with 3 epochs. Audio files converted to Mel Spectrograms that perform better in general for visual transformations of such audio files.
|
9 |
+
|
10 |
+
epoch train_loss valid_loss accuracy time
|
11 |
+
0 1.462791 0.710250 0.775487 01:12
|
12 |
+
epoch train_loss valid_loss accuracy time
|
13 |
+
0 0.600056 0.309964 0.892325 00:40
|
14 |
+
1 0.260431 0.200901 0.945017 00:39
|
15 |
+
2 0.090158 0.164748 0.950745 00:40
|
car-horn.wav
ADDED
Binary file (182 kB). View file
|
|
children_playing.wav
ADDED
Binary file (706 kB). View file
|
|
dog_bark.wav
ADDED
Binary file (56.1 kB). View file
|
|
drilling.wav
ADDED
Binary file (109 kB). View file
|
|
engine-idiling.wav
ADDED
Binary file (706 kB). View file
|
|
export.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:973aa561e19c98eea4faf8ddf1a0a1622c4e70b9a0879f266fb5d92e3747a4e4
|
3 |
+
size 87601195
|
gun-shot.wav
ADDED
Binary file (486 kB). View file
|
|
jackhammer.wav
ADDED
Binary file (706 kB). View file
|
|
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
fastai==2.6.0
|
2 |
+
gradio==2.9.4
|
3 |
+
librosa==0.9.1
|
4 |
+
matplotlib==3.5.0
|
5 |
+
huggingface_hub
|
siren.wav
ADDED
Binary file (768 kB). View file
|
|
street-music.wav
ADDED
Binary file (706 kB). View file
|
|
untitled.txt
ADDED
File without changes
|