Instructions to use Stefaron/trash-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Stefaron/trash-classifier with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Stefaron/trash-classifier") - Notebooks
- Google Colab
- Kaggle
File size: 234 Bytes
7f39250 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"model_type": "resnet50",
"pretrained": true,
"num_classes": 6,
"input_shape": [
384,
384,
3
],
"learning_rate": 0.0001,
"optimizer": "adam",
"loss_function": "cross_entropy"
} |