Update ImageRewardDB.py
Browse files- 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:
|