-
Notifications
You must be signed in to change notification settings - Fork 3
/
yolox_x_1x_llvip_rgb.py
50 lines (44 loc) · 1.14 KB
/
yolox_x_1x_llvip_rgb.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
_base_ = [
'../../yolox_base/yolox_x_8x8_300e_base.py',
]
ann_prefix = 'YOUR_DTAT_ROOT_PATH/mmpedestron_datasets_ann/LLVIP/ann_coco/'
train_ann_list = [
ann_prefix + 'LLVIP_coco_train_change_cat_id.json',
]
img_prefix_list = [
'YOUR_DTAT_ROOT_PATH/mmpedestron_images/LLVIP/visible/train/',
]
val_list = [
ann_prefix + 'LLVIP_coco_val_change_cat_id.json',
]
val_img_prefix_list = [
'YOUR_DTAT_ROOT_PATH/mmpedestron_images/LLVIP/visible/test/',
]
train_dataset = dict(
type='MultiImageMixDataset',
dataset=dict(
ann_file=train_ann_list,
img_prefix=img_prefix_list,
pipeline=[
dict(type='LoadImageFromFile',
file_client_args=dict(backend='petrel')),
dict(type='LoadAnnotations', with_bbox=True)
],
filter_empty_gt=False,
classes=('person', ),
),
)
data = dict(
samples_per_gpu=8,
workers_per_gpu=4,
persistent_workers=True,
train=train_dataset,
val=dict(
ann_file=val_list,
img_prefix=val_img_prefix_list,
),
test=dict(
ann_file=val_list,
img_prefix=val_img_prefix_list,
)
)