Instructions to use vkushwahaa/Audio_CNN1D with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use vkushwahaa/Audio_CNN1D with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://vkushwahaa/Audio_CNN1D") - Notebooks
- Google Colab
- Kaggle
File size: 257 Bytes
3cd07d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"sample_rate": 22050,
"duration": 2.5,
"offset": 0.6,
"frame_length": 2048,
"hop_length": 512,
"emotions": {
"0": "angry",
"1": "disgust",
"2": "fear",
"3": "happy",
"4": "neutral",
"5": "sad",
"6": "surprise"
}
} |