Update CLEVR-Sudoku.py
Browse files- 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": {
|
|
|
|
|
|
|
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 |
),
|