SSEONG commited on
Commit
8c5f8c4
·
1 Parent(s): 9e8b385

Update girls-groups.py

Browse files
Files changed (1) hide show
  1. girls-groups.py +2 -2
girls-groups.py CHANGED
@@ -68,7 +68,7 @@ class GirlsGroups(datasets.GeneratorBasedBuilder):
68
  features=datasets.Features(
69
  {
70
  "image": datasets.Image(),
71
- "annotation": datasets.Value(dtype='string'),
72
  }
73
  ),
74
  homepage=_HOMEPAGE,
@@ -107,5 +107,5 @@ class GirlsGroups(datasets.GeneratorBasedBuilder):
107
  for file_path, file_obj in images:
108
  yield file_path, {
109
  "image": {"path": file_path, "bytes": file_obj.read()},
110
- "annotation" : save_list[file_path]
111
  }
 
68
  features=datasets.Features(
69
  {
70
  "image": datasets.Image(),
71
+ "text": datasets.Value(dtype='string', id=None),
72
  }
73
  ),
74
  homepage=_HOMEPAGE,
 
107
  for file_path, file_obj in images:
108
  yield file_path, {
109
  "image": {"path": file_path, "bytes": file_obj.read()},
110
+ "text" : save_list[file_path]
111
  }