wheres-my-python commited on
Commit
2bf195c
·
verified ·
1 Parent(s): 7486e8c

Update images-targz.py

Browse files
Files changed (1) hide show
  1. images-targz.py +1 -1
images-targz.py CHANGED
@@ -72,7 +72,7 @@ class ImagesTrial(datasets.GeneratorBasedBuilder):
72
  #iteratre through images
73
  for filepath, image in images:
74
  yield idx, {
75
- "image": {"filepath":filepath, "image":image.read()},
76
  #Option to map text
77
 
78
  # "text": descriptions[idx],
 
72
  #iteratre through images
73
  for filepath, image in images:
74
  yield idx, {
75
+ "image": {"path":filepath, "bytes":image.read()},
76
  #Option to map text
77
 
78
  # "text": descriptions[idx],