Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
Update README.md
Browse files
README.md
CHANGED
@@ -10,15 +10,42 @@ licenses:
|
|
10 |
- cc0-1.0
|
11 |
multilinguality:
|
12 |
- monolingual
|
13 |
-
pretty_name:
|
14 |
size_categories:
|
15 |
- 10K<n<100K
|
16 |
source_datasets:
|
17 |
- original
|
18 |
task_categories:
|
19 |
- image-classification
|
20 |
-
task_ids:
|
21 |
-
- single-label-image-classification
|
22 |
---
|
23 |
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
- cc0-1.0
|
11 |
multilinguality:
|
12 |
- monolingual
|
13 |
+
pretty_name: Cat and Dog
|
14 |
size_categories:
|
15 |
- 10K<n<100K
|
16 |
source_datasets:
|
17 |
- original
|
18 |
task_categories:
|
19 |
- image-classification
|
|
|
|
|
20 |
---
|
21 |
|
22 |
+
## Dataset Description
|
23 |
+
- **Homepage:** [Cat and Dog](https://www.kaggle.com/datasets/tongpython/cat-and-dog)
|
24 |
+
- **Repository:** N/A
|
25 |
+
- **Paper:** N/A
|
26 |
+
- **Leaderboard:** N/A
|
27 |
+
- **Point of Contact:** N/A
|
28 |
+
|
29 |
+
### Dataset Summary
|
30 |
+
|
31 |
+
A dataset from [kaggle](https://www.kaggle.com/datasets/tongpython/cat-and-dog), removed 5 duplicated data.
|
32 |
+
|
33 |
+
### Data Fields
|
34 |
+
|
35 |
+
The data instances have the following fields:
|
36 |
+
- `image`: A `PIL.Image.Image` object containing the image. Note that when accessing the image column: `dataset[0]["image"]` the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the `"image"` column, *i.e.* `dataset[0]["image"]` should **always** be preferred over `dataset["image"][0]`.
|
37 |
+
- `labels`: an `int` classification label.
|
38 |
+
|
39 |
+
### Class Label Mappings:
|
40 |
+
|
41 |
+
```
|
42 |
+
{
|
43 |
+
"cat": 0,
|
44 |
+
"dog": 1,
|
45 |
+
}
|
46 |
+
```
|
47 |
+
|
48 |
+
### Data Splits
|
49 |
+
| | train | test |
|
50 |
+
|---------------|-------|-----:|
|
51 |
+
| # of examples | 8000 | 2000 |
|