image
imagewidth (px) 25
1.08k
| label
class label 2
classes |
---|---|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
|
0test
|
Dataset card for SVHN
The Street View House Numbers (SVHN) dataset serves as a real-world image dataset designed for the development of machine learning and object recognition algorithms, characterized by minimal requirements on data preprocessing and formatting. Similar in essence to MNIST, featuring small cropped digits, SVHN surpasses MNIST by an order of magnitude in labeled data, comprising over 600,000 digit images. Unlike MNIST, SVHN tackles a considerably more challenging and unsolved real-world problem—recognizing digits and numbers within natural scene images. This dataset is derived from house numbers captured in Google Street View images.
Maintenance
GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:datasets/MuGeminorum/svhn
Usage
import os
import zipfile
import requests
def download_file(url, save_path):
response = requests.get(url, stream=True)
with open(save_path, 'wb') as file:
for chunk in response.iter_content(chunk_size=1024):
if chunk:
file.write(chunk)
def unzip(zip_file_path, extract_to):
with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
for member in zip_ref.infolist():
zip_ref.extract(member, extract_to)
if not os.path.exists('./data.zip'):
download_file(
'https://huggingface.co/datasets/MuGeminorum/svhn/resolve/main/data.zip',
'data.zip'
)
if not os.path.exists('./data'):
unzip('data.zip', './')
Mirror
https://www.modelscope.cn/datasets/MuGeminorum/svhn
Reference
[1] The Street View House Numbers (SVHN) Dataset
[2] https://github.com/MuGeminorum/SVHN-Recognition
- Downloads last month
- 0