Skip to content

Commit 934f753

Browse files
Update src/anomalib/data/base/datamodule.py
Co-authored-by: Samet Akcay <[email protected]>
1 parent 4a8e487 commit 934f753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anomalib/data/base/datamodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
def collate_fn(batch: list) -> dict[str, Any]:
2929
"""Collate bounding boxes as lists.
3030
31-
Bounding boxes and `masks` (not `mask`) are collated as a list of tensors. If `masks` is exist,
31+
Bounding boxes and `masks` (not `mask`) are collated as a list of tensors. If `masks` exists,
3232
the `mask_path` is also collated as a list since each element in the batch could be unequal.
3333
For all other entries, the default collate function is used.
3434

0 commit comments

Comments
 (0)