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