Datasets:

Languages:
English
ArXiv:
License:
xujz0703 commited on
Commit
c1b5ce1
1 Parent(s): 864fc15

Update ImageRewardDB.py

Browse files
Files changed (1) hide show
  1. ImageRewardDB.py +1 -1
ImageRewardDB.py CHANGED
@@ -216,7 +216,7 @@ class ImageRewardDB(datasets.GeneratorBasedBuilder):
216
  assert num_data_dirs == len(json_paths)
217
 
218
  #Iterate throug all extracted zip folders for images
219
- metadata_table = pd.read_parquet(metadata_path)
220
  for index, json_path in enumerate(json_paths):
221
  json_data = json.load(open(json_path, "r", encoding="utf-8"))
222
  if "group" in self.config.name:
 
216
  assert num_data_dirs == len(json_paths)
217
 
218
  #Iterate throug all extracted zip folders for images
219
+ # metadata_table = pd.read_parquet(metadata_path)
220
  for index, json_path in enumerate(json_paths):
221
  json_data = json.load(open(json_path, "r", encoding="utf-8"))
222
  if "group" in self.config.name: