Update ImageRewardDB.py
Browse files- ImageRewardDB.py +1 -1
ImageRewardDB.py
CHANGED
@@ -229,7 +229,7 @@ class ImageRewardDB(datasets.GeneratorBasedBuilder):
|
|
229 |
assert num_data_dirs == len(json_paths)
|
230 |
|
231 |
#Iterate throug all extracted zip folders for images
|
232 |
-
metadata_table = pd.read_parquet(metadata_path)
|
233 |
for index, json_path in enumerate(json_paths):
|
234 |
json_data = json.load(open(json_path, "r", encoding="utf-8"))
|
235 |
if "group" in self.config.name or "pair" in self.config.name:
|
|
|
229 |
assert num_data_dirs == len(json_paths)
|
230 |
|
231 |
#Iterate throug all extracted zip folders for images
|
232 |
+
# metadata_table = pd.read_parquet(metadata_path)
|
233 |
for index, json_path in enumerate(json_paths):
|
234 |
json_data = json.load(open(json_path, "r", encoding="utf-8"))
|
235 |
if "group" in self.config.name or "pair" in self.config.name:
|