Skip to content

Commit

Permalink
Merge pull request #19 from MTG/tests
Browse files Browse the repository at this point in the history
Add more tests
  • Loading branch information
pzinemanas authored Apr 30, 2021
2 parents c7c7234 + db2a038 commit 8d90367
Show file tree
Hide file tree
Showing 41 changed files with 15,037 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions tests/resources/datasets/ESC50/meta/esc50.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
filename,fold,target,category,esc10,src_file,take
1-100032-A-0.wav,1,0,dog,True,100032,A
1-100038-A-14.wav,1,14,chirping_birds,False,100038,A
1-100210-A-36.wav,1,36,vacuum_cleaner,False,100210,A
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fname,label,usage,freesound_id,license
008afd93.wav,Saxophone,Private,358962,Attribution
00ae03f6.wav,Chime,Private,78203,Attribution
00eac343.wav,Electric_piano,Public,371494,Creative Commons 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fname,label,manually_verified,freesound_id,license
00044347.wav,Hi-hat,0,28739,Attribution
001ca53d.wav,Saxophone,1,358827,Attribution
002d256b.wav,Trumpet,0,10897,Creative Commons 0
3 changes: 3 additions & 0 deletions tests/resources/datasets/MAVD/annotations/train/0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0.1 1.1 car
0.5 2.0 engine_idling
2.1 3.5 compressor
Empty file.
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions tests/resources/datasets/SONYC-UST/annotations.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
split,sensor_id,audio_filename,annotator_id,borough,block,latitude,longitude,year,week,day,hour,1-1_small-sounding-engine_presence,1-2_medium-sounding-engine_presence,1-3_large-sounding-engine_presence,1-X_engine-of-uncertain-size_presence,2-1_rock-drill_presence,2-2_jackhammer_presence,2-3_hoe-ram_presence,2-4_pile-driver_presence,2-X_other-unknown-impact-machinery_presence,3-1_non-machinery-impact_presence,4-1_chainsaw_presence,4-2_small-medium-rotating-saw_presence,4-3_large-rotating-saw_presence,4-X_other-unknown-powered-saw_presence,5-1_car-horn_presence,5-2_car-alarm_presence,5-3_siren_presence,5-4_reverse-beeper_presence,5-X_other-unknown-alert-signal_presence,6-1_stationary-music_presence,6-2_mobile-music_presence,6-3_ice-cream-truck_presence,6-X_music-from-uncertain-source_presence,7-1_person-or-small-group-talking_presence,7-2_person-or-small-group-shouting_presence,7-3_large-crowd_presence,7-4_amplified-speech_presence,7-X_other-unknown-human-voice_presence,8-1_dog-barking-whining_presence,1-1_small-sounding-engine_proximity,1-2_medium-sounding-engine_proximity,1-3_large-sounding-engine_proximity,1-X_engine-of-uncertain-size_proximity,2-1_rock-drill_proximity,2-2_jackhammer_proximity,2-3_hoe-ram_proximity,2-4_pile-driver_proximity,2-X_other-unknown-impact-machinery_proximity,3-1_non-machinery-impact_proximity,4-1_chainsaw_proximity,4-2_small-medium-rotating-saw_proximity,4-3_large-rotating-saw_proximity,4-X_other-unknown-powered-saw_proximity,5-1_car-horn_proximity,5-2_car-alarm_proximity,5-3_siren_proximity,5-4_reverse-beeper_proximity,5-X_other-unknown-alert-signal_proximity,6-1_stationary-music_proximity,6-2_mobile-music_proximity,6-3_ice-cream-truck_proximity,6-X_music-from-uncertain-source_proximity,7-1_person-or-small-group-talking_proximity,7-2_person-or-small-group-shouting_proximity,7-3_large-crowd_proximity,7-4_amplified-speech_proximity,7-X_other-unknown-human-voice_proximity,8-1_dog-barking-whining_proximity,1_engine_presence,2_machinery-impact_presence,3_non-machinery-impact_presence,4_powered-saw_presence,5_alert-signal_presence,6_music_presence,7_human-voice_presence,8_dog_presence
train,41,41_020874.wav,5148,1,541,40.7305455117031,-73.999487649067,2017,3,1,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0
train,41,41_020874.wav,5337,1,541,40.7305455117031,-73.999487649067,2017,3,1,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0
train,41,41_020874.wav,5344,1,541,40.7305455117031,-73.999487649067,2017,3,1,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0
train,45,45_006905.wav,3611,4,1964,40.7380174959188,-73.8518417346545,2018,7,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0
train,45,45_006905.wav,3769,4,1964,40.7380174959188,-73.8518417346545,2018,7,0,12,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,notsure,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,0,0,0,0,0,0
train,45,45_006905.wav,3824,4,1964,40.7380174959188,-73.8518417346545,2018,7,0,12,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,near,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,0,0,0,0,0,0,0
validate,0,00_000118.wav,-4,1,547,40.7295078327151,-73.9938807489299,2017,40,0,21,0,1,1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1
validate,0,00_000118.wav,-3,1,547,40.7295078327151,-73.9938807489299,2017,40,0,21,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1
validate,0,00_000118.wav,-2,1,547,40.7295078327151,-73.9938807489299,2017,40,0,21,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1
validate,0,00_000118.wav,-1,1,547,40.7295078327151,-73.9938807489299,2017,40,0,21,0,1,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1
validate,0,00_000118.wav,0,1,547,40.7295078327151,-73.9938807489299,2017,40,0,21,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,0,0,0,0,0,1,0
validate,0,00_000275.wav,-5,1,547,40.7295078327151,-73.9938807489299,2017,52,3,12,-1,-1,-1,-1,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,-1,-1,-1,-1
validate,0,00_000275.wav,-4,1,547,40.7295078327151,-73.9938807489299,2017,52,3,12,0,1,1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1
validate,0,00_000275.wav,-3,1,547,40.7295078327151,-73.9938807489299,2017,52,3,12,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1
Empty file.
Empty file.
Empty file.
Empty file.
48 changes: 48 additions & 0 deletions tests/resources/datasets/SONYC-UST/dcase-ust-taxonomy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
fine:
1:
1: small-sounding-engine
2: medium-sounding-engine
3: large-sounding-engine
X: engine-of-uncertain-size
2:
1: rock-drill
2: jackhammer
3: hoe-ram
4: pile-driver
X: other-unknown-impact-machinery
3:
1: non-machinery-impact
4:
1: chainsaw
2: small-medium-rotating-saw
3: large-rotating-saw
X: other-unknown-powered-saw
5:
1: car-horn
2: car-alarm
3: siren
4: reverse-beeper
X: other-unknown-alert-signal
6:
1: stationary-music
2: mobile-music
3: ice-cream-truck
X: music-from-uncertain-source
7:
1: person-or-small-group-talking
2: person-or-small-group-shouting
3: large-crowd
4: amplified-speech
X: other-unknown-human-voice
8:
1: dog-barking-whining

coarse:
1: engine
2: machinery-impact
3: non-machinery-impact
4: powered-saw
5: alert-signal
6: music
7: human-voice
8: dog
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
filename
audio/street_pedestrian-lyon-1162-44093-a.wav
audio/metro-prague-1163-44094-a.wav
audio/park-milan-1164-44095-a.wav
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
filename scene_label
audio/airport-lisbon-1000-40000-a.wav airport
audio/bus-lyon-1001-40001-a.wav bus
audio/shopping_mall-lisbon-1002-40002-a.wav shopping_mall
Loading

0 comments on commit 8d90367

Please sign in to comment.