File size: 1,693 Bytes
d30fafe
 
 
 
 
 
 
 
 
9746c77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
license: other
task_categories:
- image-classification
language:
- en
pretty_name: Intel Image Classification
size_categories:
- 10K<n<100K
---

# Intel Image Classification

The **Intel Image Classification** dataset contains images of natural scenes categorized into six classes:

- Buildings

- Forest

- Glacier

- Mountain

- Sea

- Street

---

## πŸ“† Content

- The dataset contains **~25,000 images** of size **150x150 pixels**.

- Images are evenly distributed across **6 categories**:
  
  ```
  {'buildings' -> 0,
   'forest'    -> 1,
   'glacier'   -> 2,
   'mountain'  -> 3,
   'sea'       -> 4,
   'street'    -> 5 }
  ```

- It is divided into three parts:
  
  - **Training set**: ~14,000 images
  
  - **Test set**: ~3,000 images
  
  - **Prediction set**: ~7,000 images

The train, test, and prediction images are stored in separate folders.

---

## πŸ§ͺ Structure

```
data/
β”œβ”€β”€ seg_train/
β”‚   β”œβ”€β”€ buildings/
β”‚   β”œβ”€β”€ forest/
β”‚   β”œβ”€β”€ glacier/
β”‚   β”œβ”€β”€ mountain/
β”‚   β”œβ”€β”€ sea/
β”‚   └── street/
β”œβ”€β”€ seg_test/
β”‚   └── ...
└── seg_pred/
    └── ...
```

---

## πŸ”— Source & Acknowledgements

- Originally published by **Intel** as part of a challenge on **Analytics Vidhya**:  
  [https://datahack.analyticsvidhya.com](https://datahack.analyticsvidhya.com/)

- Rehosted on Kaggle:  
  [Intel Image Classification | Kaggle](https://www.kaggle.com/datasets/puneet6060/intel-image-classification)

---

## πŸ’» Usage

You can load this dataset using Hugging Face's `datasets` library:

```python
from datasets import load_dataset

dataset = load_dataset("sfarrukhm/intel-image-classification")
```