bastienp commited on
Commit
e27cb12
1 Parent(s): 3141c40

fix: change default config

Browse files
Files changed (1) hide show
  1. visible-watermark-pita.py +4 -2
visible-watermark-pita.py CHANGED
@@ -62,9 +62,11 @@ class WatermarkPita(datasets.GeneratorBasedBuilder):
62
  "image": datasets.Image(),
63
  "objects": datasets.Sequence(
64
  {
65
- "label": datasets.ClassLabel(names=self.config.categories),
 
 
66
  "bbox": datasets.Sequence(
67
- datasets.Value("int32"), length=4
68
  ),
69
  }
70
  ),
 
62
  "image": datasets.Image(),
63
  "objects": datasets.Sequence(
64
  {
65
+ "label": datasets.Sequence(
66
+ datasets.ClassLabel(names=self.config.categories)
67
+ ),
68
  "bbox": datasets.Sequence(
69
+ datasets.Sequence(datasets.Value("int32"), length=4),
70
  ),
71
  }
72
  ),