vkashko commited on
Commit
35e3f17
·
1 Parent(s): b2665fc

fix: images reading

Browse files
Files changed (1) hide show
  1. facial_keypoint_detection.py +2 -2
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': load_image_file(row[3]),
142
- 'mask': load_image_file(row[4]),
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
  }