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:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" 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")# pip install -U transformers accelerate # Load model directly from transformers import TFAutoModel model = TFAutoModel.from_pretrained("sharktide/recyclebot0", device_map="auto") - TF-Keras
How to use sharktide/recyclebot0 with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("sharktide/recyclebot0") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturef36a2ac
-
Update README.md
Verified signature0fd04e3
-
Update README.md
Verified signature81948de
-
Upload 4 files
Verified signatureaba9a4a -
Update README.md
57872d5 -
Update README.md
8451151 -
Update README.md
99a9a6f -
Update config.json
a2a1b88 -
Update config.json
d3d15d1 -
Update config.json
487985c -
Update config.json
b57ef59 -
Update config.json
362f9d7 -
Update README.md
563d40e
-
Delete model.weights.h5
1460ab8 -
Rename model_weights.h5 to model.weights.h5
e30eea8 -
Update README.md
d799bfc -
Update README.md
c295ef3 -
Rename recyclebot.h5 to model_weights.h5
4ffb56c -
Upload recyclebot.h5
eac5889 -
Delete variables
8e24de2 -
Update README.md
e54b41c -
Update README.md
30e45a4 -
Update README.md
6c0fd2b -
Update README.md
2f09eec -
Update README.md
b627326 -
Update README.md
2262b00 -
Rename recyclebot.h5 to tf_model.h5
38e893c -
Upload recyclebot.h5
d9d16e0 -
Upload 2 files
36ed781 -
Delete recyclebot
98f9c38 -
Update config.json
792de8d -
Upload 4 files
6f6e71a -
Update README.md
6c356b3 -
Update README.md
76310d6 -
Update README.md
2a7c55c -
Update README.md
35b6e58 -
Update README.md
bd808f2 -
Update README.md
4e4dc55 -
Update README.md
1b705d9 -
Update README.md
413fcf9 -
Update README.md
a3c1671 -
Update README.md
d217cfb -
Create config.json
e973a83 -
Update README.md
15d9023 -
Update README.md
d3d9570 -
Update README.md
9c5ba8e -
Update README.md
4c7f95e -
Update README.md
6f23096 -
Update README.md
In the world, very little of what is put into your bin actually gets recycled. One of the prime reasons for this is when people put recyclables in the wrong bin, causing the whole recycling truck to get turned away and sent to the landfill. The amount of materials we have left in the environment is decreasing, and what little we put to recycle can also get wasted. This project tries to address that issue by creating artificial intelligence capable of automatically sorting/categorizing recyclables from images. The model that was created as a result was able to categorize pictures of recyclables correctly 80% of the time. It was found that when a picture of a type of recyclable that fits into one of the 5 following categories is taken, (glass, metal, paperboard, plastic-polystyrene-specific, or plastic-other-recyclable), the model was able to classify it correctly 20 out of 25 times, being extremely confident in correct predictions (Avg: 55%). The significance of this work demonstrates h…0310940 -
Update README.md
In the world, very little of what is put into your bin actually gets recycled. One of the prime reasons for this is when people put recyclables in the wrong bin, causing the whole recycling truck to get turned away and sent to the landfill. The amount of materials we have left in the environment is decreasing, and what little we put to recycle can also get wasted. This project tries to address that issue by creating artificial intelligence capable of automatically sorting/categorizing recyclables from images. The model that was created as a result was able to categorize pictures of recyclables correctly 80% of the time. It was found that when a picture of a type of recyclable that fits into one of the 5 following categories is taken, (glass, metal, paperboard, plastic-polystyrene-specific, or plastic-other-recyclable), the model was able to classify it correctly 20 out of 25 times, being extremely confident in correct predictions (Avg: 55%). The significance of this work demonstrates h…9624b3b