fix: images reading
Browse files
facial_keypoint_detection.py
CHANGED
@@ -138,7 +138,7 @@ class FacialKeypointDetection(datasets.GeneratorBasedBuilder):
|
|
138 |
]).itertuples(index=False):
|
139 |
yield idx, {
|
140 |
'image_id': row[0],
|
141 |
-
'image':
|
142 |
-
'mask':
|
143 |
'key_points': row[2]
|
144 |
}
|
|
|
138 |
]).itertuples(index=False):
|
139 |
yield idx, {
|
140 |
'image_id': row[0],
|
141 |
+
'image': row[3],
|
142 |
+
'mask': row[4],
|
143 |
'key_points': row[2]
|
144 |
}
|