alexrods commited on
Commit
ee36e57
1 Parent(s): 19c4520

Update mini_car_bikes_detection.py

Browse files
Files changed (1) hide show
  1. mini_car_bikes_detection.py +2 -1
mini_car_bikes_detection.py CHANGED
@@ -32,7 +32,7 @@ class MiniCarBikesDetection(datasets.GeneratorBasedBuilder):
32
  features = datasets.Features(
33
  {
34
  "image": datasets.Image()
35
- # "image_name": datasets.Value("string"),
36
  }
37
  )
38
 
@@ -65,6 +65,7 @@ class MiniCarBikesDetection(datasets.GeneratorBasedBuilder):
65
  for image_file in image_files:
66
  yield image_file, {
67
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
 
68
  }
69
 
70
 
 
32
  features = datasets.Features(
33
  {
34
  "image": datasets.Image()
35
+ "image_name": datasets.Value("string"),
36
  }
37
  )
38
 
 
65
  for image_file in image_files:
66
  yield image_file, {
67
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
68
+ "image_name": image_file[0],
69
  }
70
 
71