Team Ai
Datasetpublic

Chiranjeev007/CIFAR-10_Subset

CIFAR-10 — Subset Stratified random subset of CIFAR-10. Split Rows Per class train 5,000 500 test 1,000 100 validation 500 50 Classes: airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck Images: 32 × 32 RGB | Seed: 42 Label Map ID Class ID Class 0 airplane 5 dog 1 automobile 6 frog 2 bird 7 horse 3 cat 8 ship 4 deer 9 truck Usage from datasets import load_dataset ds =… See the full description on the dataset page: https://huggingface.co/datasets/Chiranjeev007/CIFAR-10_Subset.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
0likes30downloads
Dataset Card

CIFAR-10 — Subset

Stratified random subset of CIFAR-10.

SplitRowsPer class
train5,000500
test1,000100
validation50050

Classes: airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck Images: 32 × 32 RGB | Seed: 42

Label Map

IDClassIDClass
0airplane5dog
1automobile6frog
2bird7horse
3cat8ship
4deer9truck

Usage

python
from datasets import load_dataset

ds = load_dataset("Chiranjeev007/CIFAR-10_Subset")
print(ds)
# DatasetDict({
#   train:      Dataset(num_rows: 5000),
#   validation: Dataset(num_rows: 500),
#   test:       Dataset(num_rows: 1000)
# })

sample = ds["train"][0]
sample["image"]   # PIL Image 32×32 RGB
sample["label"]   # int 0–9