We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0149976 commit adb3830Copy full SHA for adb3830
mltu/dataProvider.py
@@ -264,7 +264,7 @@ def __getitem__(self, index: int):
264
batch_data.append(data)
265
batch_annotations.append(annotation)
266
267
- if self._batch_postprocessors is not None:
+ if self._batch_postprocessors:
268
for batch_postprocessor in self._batch_postprocessors:
269
batch_data, batch_annotations = batch_postprocessor(batch_data, batch_annotations)
270
0 commit comments