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 7f501b8 commit 41dd9f2Copy full SHA for 41dd9f2
change_detection_pytorch/datasets/custom.py
@@ -40,6 +40,9 @@ class CustomDataset(Dataset):
40
ann_dir (str): Path to ground truth directory.
41
img_suffix (str): Suffix of images. Default: '.jpg'
42
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
46
data_root (str, optional): Data root for img_dir/ann_dir. Default:
47
None.
48
test_mode (bool): Whether to the test mode.
0 commit comments