Update README.md
Browse files
README.md
CHANGED
@@ -67,15 +67,15 @@ dataset = load_dataset("dvgodoy/rvl_cdip_mini")
|
|
67 |
```
|
68 |
DatasetDict({
|
69 |
train: Dataset({
|
70 |
-
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes'],
|
71 |
num_rows: 3200
|
72 |
})
|
73 |
validation: Dataset({
|
74 |
-
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes'],
|
75 |
num_rows: 400
|
76 |
})
|
77 |
test: Dataset({
|
78 |
-
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes'],
|
79 |
num_rows: 400
|
80 |
})
|
81 |
})
|
@@ -140,7 +140,8 @@ A sample from the training set is provided below :
|
|
140 |
'ocr_words': [...],
|
141 |
'word_boxes': [[...]],
|
142 |
'ocr_paragraphs': [...],
|
143 |
-
'paragraph_boxes': [[...]]
|
|
|
144 |
}
|
145 |
```
|
146 |
|
@@ -154,6 +155,7 @@ A sample from the training set is provided below :
|
|
154 |
- `word_boxes`: list of box coordinates in `(xmin, ymin, xmax, ymax)` format (Pascal VOC).
|
155 |
- `ocr_paragraphs`: list of OCRed paragraphs.
|
156 |
- `paragraph_boxes`: list of box coordinates in `(xmin, ymin, xmax, ymax)` format (Pascal VOC).
|
|
|
157 |
|
158 |
<details>
|
159 |
<summary>Class Label Mappings</summary>
|
|
|
67 |
```
|
68 |
DatasetDict({
|
69 |
train: Dataset({
|
70 |
+
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes', 'label'],
|
71 |
num_rows: 3200
|
72 |
})
|
73 |
validation: Dataset({
|
74 |
+
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes', 'label'],
|
75 |
num_rows: 400
|
76 |
})
|
77 |
test: Dataset({
|
78 |
+
features: ['image', 'width', 'height', 'category', 'ocr_words', 'word_boxes', 'ocr_paragraphs', 'paragraph_boxes', 'label'],
|
79 |
num_rows: 400
|
80 |
})
|
81 |
})
|
|
|
140 |
'ocr_words': [...],
|
141 |
'word_boxes': [[...]],
|
142 |
'ocr_paragraphs': [...],
|
143 |
+
'paragraph_boxes': [[...]],
|
144 |
+
'label': 4
|
145 |
}
|
146 |
```
|
147 |
|
|
|
155 |
- `word_boxes`: list of box coordinates in `(xmin, ymin, xmax, ymax)` format (Pascal VOC).
|
156 |
- `ocr_paragraphs`: list of OCRed paragraphs.
|
157 |
- `paragraph_boxes`: list of box coordinates in `(xmin, ymin, xmax, ymax)` format (Pascal VOC).
|
158 |
+
- `label`: an `int` classification label.
|
159 |
|
160 |
<details>
|
161 |
<summary>Class Label Mappings</summary>
|