Instructions to use CaptainRapid/acoustic-alert-5class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use CaptainRapid/acoustic-alert-5class with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://CaptainRapid/acoustic-alert-5class") - Notebooks
- Google Colab
- Kaggle
File size: 595 Bytes
23729a3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | {
"labels": [
"background",
"dog_bark",
"alarm_siren",
"door_event",
"scream_shout"
],
"label_to_id": {
"background": 0,
"dog_bark": 1,
"alarm_siren": 2,
"door_event": 3,
"scream_shout": 4
},
"id_to_label": {
"0": "background",
"1": "dog_bark",
"2": "alarm_siren",
"3": "door_event",
"4": "scream_shout"
},
"missing_labels": [
"baby_cry",
"glass_break"
],
"canonical_labels": [
"background",
"baby_cry",
"dog_bark",
"alarm_siren",
"door_event",
"glass_break",
"scream_shout"
]
}
|