Instructions to use moyasser20/trash-classifier-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use moyasser20/trash-classifier-models with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://moyasser20/trash-classifier-models") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +18 -0
config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"target_size": [
|
| 3 |
+
300,
|
| 4 |
+
300
|
| 5 |
+
],
|
| 6 |
+
"test_size": 0.2,
|
| 7 |
+
"random_state": 42,
|
| 8 |
+
"model_architecture": "EfficientNetB3",
|
| 9 |
+
"svm_params": {
|
| 10 |
+
"kernel": "rbf",
|
| 11 |
+
"C": 10,
|
| 12 |
+
"gamma": "scale"
|
| 13 |
+
},
|
| 14 |
+
"knn_params": {
|
| 15 |
+
"n_neighbors": 6,
|
| 16 |
+
"weights": "distance"
|
| 17 |
+
}
|
| 18 |
+
}
|