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
Download preprocessing.json from vkushwahaa/Audio_CNN1D: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/vkushwahaa/Audio_CNN1D/resolve/main/preprocessing.json
- Command line
-
hf download hf://vkushwahaa/Audio_CNN1D/preprocessing.json
-
curl -L -o preprocessing.json https://huggingface.co/vkushwahaa/Audio_CNN1D/resolve/main/preprocessing.json
257 Bytes
| { | |
| "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" | |
| } | |
| } |