ESC-50 Exploration¶

In this notebook, we explore the ESC-50 dataset through the scope of SALT. First, we plot the hierarchical tree graphs of standardized labels for the ESC-50 nodes. After, we explore the 1-1 mapping between the ESC-50 default labels and the standardized SALT labels.

InĀ [1]:
from py_salt.event_mapping import EventExplorer

Let's start by plotting the tree graphs of ESC-50 from the SALT viewpoint

InĀ [2]:
e = EventExplorer()
e.plot_dataset_tree_graph('ESC50')
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image
No description has been provided for this image

Next, let's examine the one-to-one mapping between the ESC-50 default labels and the standardized labels

InĀ [4]:
# Get the default ESC-50 labels
esc50_labels = e.get_dataset_labels('ESC50')

# For each ESC-50 label, find its corresponding standard label in SALT
for default_label in esc50_labels:
  std_label = e.get_std_label_from_dataset_label(default_label)
  print(f'ESC-50 label: {default_label}\nStandard label: {std_label}\n')
ESC-50 label: airplane
Standard label: airplane

ESC-50 label: car_horn
Standard label: car_horn

ESC-50 label: engine
Standard label: engine

ESC-50 label: helicopter
Standard label: helicopter

ESC-50 label: train
Standard label: train

ESC-50 label: chainsaw
Standard label: chainsaw

ESC-50 label: fireworks
Standard label: fireworks

ESC-50 label: glass_breaking
Standard label: glass_break

ESC-50 label: hand_saw
Standard label: hand_saw

ESC-50 label: clock_alarm
Standard label: alarm_clock_ringing

ESC-50 label: siren
Standard label: siren_ringing

ESC-50 label: clapping
Standard label: clapping

ESC-50 label: coughing
Standard label: coughing

ESC-50 label: breathing
Standard label: breathing

ESC-50 label: snoring
Standard label: snoring

ESC-50 label: sneezing
Standard label: sneezing

ESC-50 label: footsteps
Standard label: footsteps

ESC-50 label: brushing_teeth
Standard label: brushing_teeth

ESC-50 label: crying_baby
Standard label: baby_crying

ESC-50 label: drinking_sipping
Standard label: drinking_or_sipping

ESC-50 label: laughing
Standard label: laughing

ESC-50 label: cat meowing
Standard label: cat_meowing

ESC-50 label: chirping_birds
Standard label: bird_chirping

ESC-50 label: cow
Standard label: cow

ESC-50 label: crickets
Standard label: cricket

ESC-50 label: crow
Standard label: crow

ESC-50 label: dog
Standard label: dog

ESC-50 label: frog
Standard label: frog

ESC-50 label: hen
Standard label: hen

ESC-50 label: insects
Standard label: insect

ESC-50 label: pig
Standard label: pig

ESC-50 label: rooster
Standard label: chicken_or_rooster

ESC-50 label: sheep
Standard label: sheep

ESC-50 label: thunderstorm
Standard label: thunderstorm

ESC-50 label: wind
Standard label: wind_blowing

ESC-50 label: pouring_water
Standard label: pouring_water

ESC-50 label: rain
Standard label: rain

ESC-50 label: sea_waves
Standard label: waves

ESC-50 label: water_drops
Standard label: water_drop

ESC-50 label: toilet_flush
Standard label: toilet_flush

ESC-50 label: church_bells
Standard label: church_bell

ESC-50 label: vacuum_cleaner
Standard label: vacuum_cleaner

ESC-50 label: mouse_click
Standard label: mouse_click

ESC-50 label: can_opening
Standard label: can_opening

ESC-50 label: washing_machine
Standard label: washing_machine

ESC-50 label: door_wood_creaks
Standard label: door_wood_creak

ESC-50 label: door_wood_knock
Standard label: door_knock

ESC-50 label: keyboard_typing
Standard label: keyboard_typing

ESC-50 label: clock_tick
Standard label: clock_tick

ESC-50 label: crackling_fire
Standard label: fire