admin
commited on
Commit
•
564b84a
1
Parent(s):
275fdf8
upd md
Browse files- .gitignore +1 -0
- README.md +54 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
rename.sh
|
README.md
CHANGED
@@ -1,3 +1,57 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- text-classification
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
tags:
|
8 |
+
- legal
|
9 |
+
pretty_name: The Street View House Numbers (SVHN) Dataset
|
10 |
+
size_categories:
|
11 |
+
- 10K<n<100K
|
12 |
+
viewer: false
|
13 |
---
|
14 |
+
|
15 |
+
# Dataset card for SVHN
|
16 |
+
The Street View House Numbers (SVHN) dataset is a real-world image dataset developed and designed for machine learning and object recognition algorithms, and is characterized by low data preprocessing and formatting requirements. Similar to MNIST, SVHN contains images of small cropped numbers, but in terms of labeled data, SVHN is an order of magnitude larger than MNIST, comprising over 600,000 digital images. Unlike MNIST, SVHN deals with a much more challenging and unsolved real-world problem - recognizing numbers and strings of numbers in natural scene images. The dataset is derived from house numbers captured in Google Street View images.
|
17 |
+
|
18 |
+
## Maintenance
|
19 |
+
```bash
|
20 |
+
git clone [email protected]:datasets/MuGeminorum/svhn
|
21 |
+
cd svhn
|
22 |
+
```
|
23 |
+
|
24 |
+
## Usage
|
25 |
+
```python
|
26 |
+
import os
|
27 |
+
import zipfile
|
28 |
+
import requests
|
29 |
+
|
30 |
+
def download_file(url, save_path):
|
31 |
+
response = requests.get(url, stream=True)
|
32 |
+
with open(save_path, 'wb') as file:
|
33 |
+
for chunk in response.iter_content(chunk_size=1024):
|
34 |
+
if chunk:
|
35 |
+
file.write(chunk)
|
36 |
+
|
37 |
+
def unzip(zip_file_path, extract_to):
|
38 |
+
with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
|
39 |
+
for member in zip_ref.infolist():
|
40 |
+
zip_ref.extract(member, extract_to)
|
41 |
+
|
42 |
+
if not os.path.exists('./data.zip'):
|
43 |
+
download_file(
|
44 |
+
'https://www.modelscope.cn/datasets/MuGeminorum/svhn/resolve/master/data.zip',
|
45 |
+
'data.zip'
|
46 |
+
)
|
47 |
+
|
48 |
+
if not os.path.exists('./data'):
|
49 |
+
unzip('data.zip', './')
|
50 |
+
```
|
51 |
+
|
52 |
+
## Mirror
|
53 |
+
<https://www.modelscope.cn/datasets/MuGeminorum/svhn>
|
54 |
+
|
55 |
+
## Reference
|
56 |
+
[1] <a href="http://ufldl.stanford.edu/housenumbers">The Street View House Numbers (SVHN) Dataset</a><br>
|
57 |
+
[2] <https://github.com/MuGeminorum/SVHN-Recognition>
|