Update aphantasia_drawing_dataset.py
Browse files
aphantasia_drawing_dataset.py
CHANGED
@@ -149,7 +149,7 @@ class AphantasiaDrawingDataset(datasets.GeneratorBasedBuilder):
|
|
149 |
with open(filepath, "rb") as subjects_file:
|
150 |
subjects_data = pd.read_parquet(subjects_file)
|
151 |
#idx = 0
|
152 |
-
for sub_row in subjects_data.iterrows():
|
153 |
# for room in subjects_data[sub]["drawings"].keys():
|
154 |
# if subjects_data[sub]["drawings"][room]["perception"] != "":
|
155 |
# img_byt = base64.b64decode(subjects_data[sub]["drawings"][room]["perception"])
|
|
|
149 |
with open(filepath, "rb") as subjects_file:
|
150 |
subjects_data = pd.read_parquet(subjects_file)
|
151 |
#idx = 0
|
152 |
+
for idx, sub_row in subjects_data.iterrows():
|
153 |
# for room in subjects_data[sub]["drawings"].keys():
|
154 |
# if subjects_data[sub]["drawings"][room]["perception"] != "":
|
155 |
# img_byt = base64.b64decode(subjects_data[sub]["drawings"][room]["perception"])
|