Image Classification
Keras
TensorFlow
TF-Keras
Transformers
English
resnet
recycling
deeplearning
tftools
Instructions to use sharktide/recyclebot0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use sharktide/recyclebot0 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://sharktide/recyclebot0") - Transformers
How to use sharktide/recyclebot0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="sharktide/recyclebot0") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import TFAutoModel model = TFAutoModel.from_pretrained("sharktide/recyclebot0", dtype="auto") - TF-Keras
How to use sharktide/recyclebot0 with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("sharktide/recyclebot0") - Notebooks
- Google Colab
- Kaggle
File size: 281 Bytes
e973a83 a2a1b88 e973a83 | 1 2 3 4 5 6 7 8 9 10 11 | {
"model_name": "recyclebot",
"framework": "tensorflow",
"model_type": "resnet",
"task": "image-classification",
"num_labels": 5,
"input_shape": [240, 240, 3],
"labels": ["Glass", "Metal", "Paperboard", "Plastic-Polystyrene", "Plastic-Regular"],
"version": "1.0"
}
|