Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
-
|
|
|
|
| 10 |
|
| 11 |
# MNIST
|
| 12 |
|
|
@@ -33,6 +34,14 @@ Expected output:
|
|
| 33 |
mnist.tar.gz: OK
|
| 34 |
```
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
## Metadata
|
| 37 |
|
| 38 |
* 70,000 images
|
|
@@ -68,4 +77,33 @@ ls -1 mnist/training/0 | wc -l
|
|
| 68 |
```sh
|
| 69 |
file mnist/training/0/10005.png
|
| 70 |
mnist/training/0/10005.png: PNG image data, 28 x 28, 8-bit grayscale, non-interlaced
|
| 71 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: MNIST
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
size_categories:
|
| 9 |
+
- 10K<n<100K
|
| 10 |
+
---
|
| 11 |
|
| 12 |
# MNIST
|
| 13 |
|
|
|
|
| 34 |
mnist.tar.gz: OK
|
| 35 |
```
|
| 36 |
|
| 37 |
+
## Extract
|
| 38 |
+
|
| 39 |
+
```sh
|
| 40 |
+
tar xf mnist.tar.gz
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
This will create a top-level `mnist/` directory containing the dataset.
|
| 44 |
+
|
| 45 |
## Metadata
|
| 46 |
|
| 47 |
* 70,000 images
|
|
|
|
| 77 |
```sh
|
| 78 |
file mnist/training/0/10005.png
|
| 79 |
mnist/training/0/10005.png: PNG image data, 28 x 28, 8-bit grayscale, non-interlaced
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### ImageMagick
|
| 83 |
+
|
| 84 |
+
```sh
|
| 85 |
+
identify mnist/training/0/10005.png
|
| 86 |
+
mnist/training/0/10005.png PNG 28x28 28x28+0+0 8-bit Grayscale Gray 256c 242B 0.000u 0:00.000
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
To view detailed metadata, use the `-verbose` flag:
|
| 90 |
+
|
| 91 |
+
```sh
|
| 92 |
+
identify -verbose mnist/training/0/10005.png
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
Example output:
|
| 96 |
+
|
| 97 |
+
```
|
| 98 |
+
Image:
|
| 99 |
+
Filename: mnist/training/0/10005.png
|
| 100 |
+
Format: PNG (Portable Network Graphics)
|
| 101 |
+
Geometry: 28x28+0+0
|
| 102 |
+
Colorspace: Gray
|
| 103 |
+
Type: Grayscale
|
| 104 |
+
Depth: 8-bit
|
| 105 |
+
Pixels: 784
|
| 106 |
+
...
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
The full output includes histogram, colormap, transparency, and statistical details, which are omitted here for brevity.
|