File size: 1,217 Bytes
b9cbb75
 
1991637
 
 
 
 
 
 
 
c64903a
 
1991637
c64903a
1991637
c64903a
 
7ef7012
270652f
33f488e
7ef7012
 
270652f
7ef7012
 
270652f
 
 
 
 
 
 
 
 
 
 
 
 
33f488e
 
04eef6a
 
33f488e
 
 
 
04eef6a
 
 
 
33f488e
 
04eef6a
 
270652f
 
 
 
 
c64903a
270652f
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
license: mit
task_categories:
- image-classification
language:
- en
size_categories:
- n<1K
splits:
  - name: train
    MB: 20.4
    num_examples: 1050
  - name: test
    MB: 3.29
    num_examples: 150
download_size: 24 MB
dataset_size: 1050
---
### Dataset Summary
Mini(24 MB) Classification dataset for mini projects.
Cats, dogs and rabbit are included as pet in this dataset.

### Supported Tasks and Leaderboards
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).

### Languages
English

### Class Label Mappings:

```json
{
  "cat": 0,
  "dog": 1,
  "rabbit": 2,
}
```

### Load Dataset
```python
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"]
```

![image](https://raw.githubusercontent.com/rokmr/Deep-Learning-In-Computer-Vision/main/datasets/pet_dataset.png)

### Citation Information

```
@ONLINE {mini_pets,
    author="Rohit Kumar",
    title="Pets dataset",
    month="July",
    year="2023",
    url="https://github.com/rokmr"
}
```