jordyvl commited on
Commit
5799cb7
1 Parent(s): b6d477a

before dumping auto readme

Browse files
Files changed (2) hide show
  1. rvl_cdip_easyOCR.py +1 -2
  2. test_loader.py +1 -0
rvl_cdip_easyOCR.py CHANGED
@@ -122,9 +122,7 @@ class RvlCdipEasyOcr(datasets.GeneratorBasedBuilder):
122
  _URLS["rvl-cdip"]
123
  ) # only download images if need be
124
  labels_path = dl_manager.download(_METADATA_URLS)
125
- from pdb import set_trace
126
 
127
- set_trace()
128
  return [
129
  datasets.SplitGenerator(
130
  name=datasets.Split.TRAIN,
@@ -214,3 +212,4 @@ class RvlCdipEasyOcr(datasets.GeneratorBasedBuilder):
214
  boxes=boxes,
215
  )
216
  yield file_path, a
 
 
122
  _URLS["rvl-cdip"]
123
  ) # only download images if need be
124
  labels_path = dl_manager.download(_METADATA_URLS)
 
125
 
 
126
  return [
127
  datasets.SplitGenerator(
128
  name=datasets.Split.TRAIN,
 
212
  boxes=boxes,
213
  )
214
  yield file_path, a
215
+
test_loader.py CHANGED
@@ -5,6 +5,7 @@ from datasets import load_dataset_builder, get_dataset_config_names, get_dataset
5
  # data = load_dataset(
6
  # "jordyvl/rvl-cdip_easyOCR")
7
 
 
8
 
9
  from pdb import set_trace; set_trace()
10
  builder = load_dataset_builder("jordyvl/rvl-cdip_easyOCR")
 
5
  # data = load_dataset(
6
  # "jordyvl/rvl-cdip_easyOCR")
7
 
8
+ builder = load_dataset_builder("rvl_cdip")
9
 
10
  from pdb import set_trace; set_trace()
11
  builder = load_dataset_builder("jordyvl/rvl-cdip_easyOCR")