Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
before dumping auto readme
Browse files- rvl_cdip_easyOCR.py +12 -13
rvl_cdip_easyOCR.py
CHANGED
@@ -74,25 +74,24 @@ _CLASSES = [
|
|
74 |
_IMAGES_DIR = "images/"
|
75 |
|
76 |
|
77 |
-
class OCRConfig(datasets.BuilderConfig):
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
|
90 |
|
91 |
class RvlCdipEasyOcr(datasets.GeneratorBasedBuilder):
|
92 |
"""Ryerson Vision Lab Complex Document Information Processing dataset."""
|
93 |
|
94 |
VERSION = datasets.Version("1.0.0")
|
95 |
-
BUILDER_CONFIGS = [OCRConfig("default",version=VERSION)]
|
96 |
DEFAULT_CONFIG_NAME = "default"
|
97 |
|
98 |
def _info(self):
|
|
|
74 |
_IMAGES_DIR = "images/"
|
75 |
|
76 |
|
77 |
+
# class OCRConfig(datasets.BuilderConfig):
|
78 |
+
# """BuilderConfig for RedCaps."""
|
79 |
+
|
80 |
+
# def __init__(self, name, **kwargs):
|
81 |
+
# """BuilderConfig for RedCaps.
|
82 |
+
# Args:
|
83 |
+
# **kwargs: keyword arguments forwarded to super.
|
84 |
+
# """
|
85 |
+
# assert "description" not in kwargs
|
86 |
+
# super(OCRConfig, self).__init__(
|
87 |
+
# version=kwargs['version'], name=name, **kwargs
|
88 |
+
# )
|
89 |
|
90 |
|
91 |
class RvlCdipEasyOcr(datasets.GeneratorBasedBuilder):
|
92 |
"""Ryerson Vision Lab Complex Document Information Processing dataset."""
|
93 |
|
94 |
VERSION = datasets.Version("1.0.0")
|
|
|
95 |
DEFAULT_CONFIG_NAME = "default"
|
96 |
|
97 |
def _info(self):
|