fix: script, docs: readme
Browse files- README.md +16 -2
- ocr-trains-dataset.py +0 -1
README.md
CHANGED
@@ -1,13 +1,27 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: cc-by-nc-nd-4.0
|
3 |
task_categories:
|
4 |
- image-to-text
|
5 |
- object-detection
|
6 |
-
language:
|
7 |
-
- en
|
8 |
tags:
|
9 |
- code
|
10 |
- finance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
# OCR Trains Dataset
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: cc-by-nc-nd-4.0
|
5 |
task_categories:
|
6 |
- image-to-text
|
7 |
- object-detection
|
|
|
|
|
8 |
tags:
|
9 |
- code
|
10 |
- finance
|
11 |
+
dataset_info:
|
12 |
+
features:
|
13 |
+
- name: id
|
14 |
+
dtype: int32
|
15 |
+
- name: image
|
16 |
+
dtype: image
|
17 |
+
- name: bboxes
|
18 |
+
dtype: string
|
19 |
+
splits:
|
20 |
+
- name: train
|
21 |
+
num_bytes: 3152173
|
22 |
+
num_examples: 13
|
23 |
+
download_size: 3029413
|
24 |
+
dataset_size: 3152173
|
25 |
---
|
26 |
|
27 |
# OCR Trains Dataset
|
ocr-trains-dataset.py
CHANGED
@@ -53,7 +53,6 @@ class OcrTrainsDataset(datasets.GeneratorBasedBuilder):
|
|
53 |
name=datasets.Split.TRAIN,
|
54 |
gen_kwargs={
|
55 |
"images": images,
|
56 |
-
"masks": masks,
|
57 |
"annotations": annotations,
|
58 |
},
|
59 |
),
|
|
|
53 |
name=datasets.Split.TRAIN,
|
54 |
gen_kwargs={
|
55 |
"images": images,
|
|
|
56 |
"annotations": annotations,
|
57 |
},
|
58 |
),
|