Instructions to use DerrickLegacy256/bee-audio-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use DerrickLegacy256/bee-audio-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("DerrickLegacy256/bee-audio-classifier", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
File size: 540 Bytes
c21f2aa 24ef7da c21f2aa 24ef7da c21f2aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"sample_rate": 22050,
"segment_length_sec": 5.0,
"n_mfcc": 40,
"hop_length": 512,
"n_fft": 2048,
"model_type": "bee_audio_classifier",
"classes": [],
"num_classes": 0,
"n_features": 0,
"best_model": "random_forest_model.pkl",
"uploaded_files": [
"random_forest_model.pkl",
"svm_rbf_model.pkl",
"xgboost_model.pkl",
"gradient_boosting_model.pkl",
"bee_cnn_classifier.h5",
"best_cnn.h5",
"label_encoder.pkl",
"cnn_label_encoder.pkl"
],
"classical_metrics": {},
"cnn_metrics": {}
} |