Alanox commited on
Commit
329bf3b
·
1 Parent(s): 9885ee5

[FIX]Set target as ClassLabel

Browse files

ClassLabel identifies the target class

Files changed (1) hide show
  1. stanford-dogs.py +1 -1
stanford-dogs.py CHANGED
@@ -25,7 +25,7 @@ class StanfordDogs(datasets.GeneratorBasedBuilder):
25
  {
26
  "name": datasets.Value("string"),
27
  "annotations": datasets.Array2D(shape=(None, 4), dtype="int32"),
28
- "target": datasets.Value("string"),
29
  "image": datasets.Image(),
30
  }
31
  ),
 
25
  {
26
  "name": datasets.Value("string"),
27
  "annotations": datasets.Array2D(shape=(None, 4), dtype="int32"),
28
+ "target": datasets.ClassLabel("string"),
29
  "image": datasets.Image(),
30
  }
31
  ),