Datasets:
|
Download README.md from autoencodix/mnist: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/datasets/autoencodix/mnist/resolve/main/README.md
- Command line
-
hf download hf://datasets/autoencodix/mnist/README.md
-
curl -L -o README.md https://huggingface.co/datasets/autoencodix/mnist/resolve/main/README.md
1.33 kB
metadata
license: cc-by-sa-3.0
task_categories: []
tags:
- image
- mnist
pretty_name: MNIST Handwritten Digits
Info
Balanced subsample of the classic MNIST handwritten digits dataset (LeCun, Cortes,
Burges), for use with the AUTOENCODIX
Imagix tutorial.
Contents
- 2000 images, 200 per digit (digits 0-9), 28x28 grayscale PNG, drawn from the MNIST training split.
mnist_images.zip: image files, namedmnist_<digit>_<index>.png.mnist_mappings.txt: tab-separated annotation file, columnssample_ids,img_paths,label(digit class, 0-9).
Loading
from huggingface_hub import hf_hub_download
import zipfile
mapping_path = hf_hub_download(repo_id="autoencodix/mnist", repo_type="dataset", filename="mnist_mappings.txt")
zip_path = hf_hub_download(repo_id="autoencodix/mnist", repo_type="dataset", filename="mnist_images.zip")
with zipfile.ZipFile(zip_path) as zf:
zf.extractall("data/images/")
License
CC BY-SA 3.0. Original MNIST dataset by Yann LeCun, Corinna Cortes, and Christopher J.C. Burges, derived from NIST, licensed under Creative Commons Attribution-ShareAlike 3.0. See http://yann.lecun.com/exdb/mnist/ for details.