Skip to content

Commit 41dd9f2

Browse files
committed
update annotations
1 parent 7f501b8 commit 41dd9f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

change_detection_pytorch/datasets/custom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class CustomDataset(Dataset):
4040
ann_dir (str): Path to ground truth directory.
4141
img_suffix (str): Suffix of images. Default: '.jpg'
4242
seg_map_suffix (str): Suffix of segmentation maps. Default: '.png'
43+
split (str|None): Split txt file. If split is specified, only file
44+
with suffix in the splits will be loaded. Otherwise, all images
45+
in img_dir/ann_dir will be loaded. Default: None
4346
data_root (str, optional): Data root for img_dir/ann_dir. Default:
4447
None.
4548
test_mode (bool): Whether to the test mode.

0 commit comments

Comments
 (0)