jordyvl commited on
Commit
c9cefb1
·
1 Parent(s): e765549
Files changed (2) hide show
  1. rvl_cdip_easyOCR.py +1 -1
  2. test_loader.py +2 -2
rvl_cdip_easyOCR.py CHANGED
@@ -95,7 +95,7 @@ class RvlCdip_EasyOcr(datasets.GeneratorBasedBuilder):
95
  BUILDER_CONFIGS = [OCRConfig("default")]
96
  DEFAULT_CONFIG_NAME = "default"
97
 
98
- def _info(self):
99
  return datasets.DatasetInfo(
100
  description=_DESCRIPTION,
101
  features=datasets.Features(
 
95
  BUILDER_CONFIGS = [OCRConfig("default")]
96
  DEFAULT_CONFIG_NAME = "default"
97
 
98
+ def info(self):
99
  return datasets.DatasetInfo(
100
  description=_DESCRIPTION,
101
  features=datasets.Features(
test_loader.py CHANGED
@@ -2,8 +2,8 @@ from datasets import load_dataset_builder, get_dataset_config_names, get_dataset
2
 
3
  # print(get_dataset_infos('jordyvl/rvl-cdip_easyOCR'))
4
  # print(get_dataset_config_names("jordyvl/rvl-cdip_easyOCR"))
5
- data = load_dataset(
6
- "jordyvl/rvl-cdip_easyOCR")
7
 
8
 
9
  builder = load_dataset_builder("jordyvl/rvl-cdip_easyOCR")
 
2
 
3
  # print(get_dataset_infos('jordyvl/rvl-cdip_easyOCR'))
4
  # print(get_dataset_config_names("jordyvl/rvl-cdip_easyOCR"))
5
+ # data = load_dataset(
6
+ # "jordyvl/rvl-cdip_easyOCR")
7
 
8
 
9
  builder = load_dataset_builder("jordyvl/rvl-cdip_easyOCR")