We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a8e487 commit 934f753Copy full SHA for 934f753
src/anomalib/data/base/datamodule.py
@@ -28,7 +28,7 @@
28
def collate_fn(batch: list) -> dict[str, Any]:
29
"""Collate bounding boxes as lists.
30
31
- Bounding boxes and `masks` (not `mask`) are collated as a list of tensors. If `masks` is exist,
+ Bounding boxes and `masks` (not `mask`) are collated as a list of tensors. If `masks` exists,
32
the `mask_path` is also collated as a list since each element in the batch could be unequal.
33
For all other entries, the default collate function is used.
34
0 commit comments