Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Example images to be used with the Trashify object detection demo.

See link to the demo: https://huggingface.co/spaces/mrdbourke/trashify_demo_v4

Example usage:

from datasets import load_dataset

trashify_examples = load_dataset("mrdbourke/trashify_examples")
trashify_examples

Save images to file:

for i, sample in enumerate(trashify_examples["train"]):
    save_path = f"../demos/trashify_object_detector/trashify_examples/trashify_example_{i+1}.jpeg"
    print(f"[INFO] Saving image to: {save_path}")
    sample["image"].save(save_path)
Downloads last month
27

Spaces using mrdbourke/trashify_examples 11