Instructions to use dvk65/trash-classifier-resnet50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use dvk65/trash-classifier-resnet50 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://dvk65/trash-classifier-resnet50") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -25,7 +25,7 @@ Original dataset: [`dvk65/TrashTypes`](https://huggingface.co/dvk65/TrashTypes)
|
|
| 25 |
|
| 26 |
```python
|
| 27 |
from huggingface_hub import hf_hub_download
|
| 28 |
-
import tensorflow as tf
|
| 29 |
|
| 30 |
REPO_ID = "dvk65/trash-classifier-resnet50"
|
| 31 |
FILENAME = "trashclassify_13.keras"
|
|
|
|
| 25 |
|
| 26 |
```python
|
| 27 |
from huggingface_hub import hf_hub_download
|
| 28 |
+
import tensorflow as tf # tensorflow version above 2.20.0
|
| 29 |
|
| 30 |
REPO_ID = "dvk65/trash-classifier-resnet50"
|
| 31 |
FILENAME = "trashclassify_13.keras"
|