JadeRay-42 commited on
Commit
a59f72b
·
1 Parent(s): b82b0e2

change kwargs

Browse files
Files changed (1) hide show
  1. CustomAnchorShape.py +1 -2
CustomAnchorShape.py CHANGED
@@ -112,8 +112,7 @@ class CustomAnchorShapeDataset(datasets.GeneratorBasedBuilder):
112
  datasets.SplitGenerator(
113
  name=datasets.Split.TRAIN,
114
  gen_kwargs={
115
- "width": self.config.size,
116
- "height": self.config.size,
117
  "custom_data": self.config.custom_data['train'],
118
  },
119
  ),
 
112
  datasets.SplitGenerator(
113
  name=datasets.Split.TRAIN,
114
  gen_kwargs={
115
+ "size": self.config.size,
 
116
  "custom_data": self.config.custom_data['train'],
117
  },
118
  ),