c2p-cmd/PetsImageClassifier
Image Classification
•
Updated
•
1
image
imagewidth (px) 58
500
| label
class label 3
classes |
---|---|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
|
0cat
|
Mini(24 MB) Classification dataset for mini projects. Cats, dogs and rabbit are included as pet in this dataset.
image-classification: Based on a pet image, the goal of this task is to predict the type of pet (i.e., dog or cat or rabbit).
English
{
"cat": 0,
"dog": 1,
"rabbit": 2,
}
from datasets import load_dataset
train_dataset = load_dataset("rokmr/pets", split="train")
test_dataset = load_dataset("rokmr/pets", split="test")
#To view label
print(train_dataset[0]["label"])
#To view image
train_dataset[0]["image"]
@ONLINE {mini_pets,
author="Rohit Kumar",
title="Pets dataset",
month="July",
year="2023",
url="https://github.com/rokmr"
}