Datasets:

toniwuest commited on
Commit
362a6a6
·
verified ·
1 Parent(s): 9af34c9

Update CLEVR-Sudoku.py

Browse files
Files changed (1) hide show
  1. CLEVR-Sudoku.py +4 -1
CLEVR-Sudoku.py CHANGED
@@ -68,7 +68,10 @@ class CLEVRSudoku(datasets.GeneratorBasedBuilder):
68
  "sudoku": datasets.Array2D(shape=(9, 9), dtype=datasets.Image()),
69
  "options": datasets.Array2D(shape=(9, 10), dtype=datasets.Image()),
70
  # attributes as dict of features
71
- "attributes": {datasets.Value(dtype='int32'), datasets.Value(dtype="string")},
 
 
 
72
  "label": datasets.Array2D(shape=(9, 9), dtype="int32"),
73
  }
74
  ),
 
68
  "sudoku": datasets.Array2D(shape=(9, 9), dtype=datasets.Image()),
69
  "options": datasets.Array2D(shape=(9, 10), dtype=datasets.Image()),
70
  # attributes as dict of features
71
+ "attributes": {
72
+ "key": datasets.Value("int32"),
73
+ "value": datasets.Sequence(datasets.Value("string"))
74
+ },
75
  "label": datasets.Array2D(shape=(9, 9), dtype="int32"),
76
  }
77
  ),