-
Notifications
You must be signed in to change notification settings - Fork 2
/
info.py
126 lines (124 loc) · 5.05 KB
/
info.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
class DatasetInfo(object):
data_dir_iFLy = '/home/py21/changguang_parcel/top1_baseline/out_shp/train/512-512/'
dataset_info = {
'coco_train': {
'name': 'coco',
'image_dir': 'data/coco/train2017',
'anno_dir': 'data/coco/annotations/instances_train2017.json',
'split': 'train'
},
'coco_val': {
'name': 'coco',
'image_dir': 'data/coco/val2017',
'anno_dir': 'data/coco/annotations/instances_val2017.json',
'split': 'val'
},
'coco_test': {
'name': 'coco',
'image_dir': 'data/coco/test2017',
'anno_dir': 'data/coco/annotations/image_info_test-dev2017.json',
'split': 'test'
},
'sbd_train': {
'name': 'sbd',
'image_dir': 'data/sbd/img',
'anno_dir': 'data/sbd/annotations/sbd_train_instance.json',
'split': 'train'
},
'sbd_val': {
'name': 'sbd',
'image_dir': 'data/sbd/img',
'anno_dir': 'data/sbd/annotations/sbd_trainval_instance.json',
'split': 'val'
},
'kitti_train': {
'name': 'kitti',
'image_dir': 'data/kitti/training/image_2',
'anno_dir': 'data/kitti/training/instances_train.json',
'split': 'train'
},
'kitti_val': {
'name': 'kitti',
'image_dir': 'data/kitti/testing/image_2',
'anno_dir': 'data/kitti/testing/instances_val.json',
'split': 'val'
},
'cityscapes_train': {
'name': 'cityscapes',
'image_dir': 'data/cityscapes/leftImg8bit',
'anno_dir': ('data/cityscapes/annotations/train', 'data/cityscapes/annotations/train_val'),
'split': 'train'
},
'cityscapes_val': {
'name': 'cityscapes',
'image_dir': 'data/cityscapes/leftImg8bit',
'anno_dir': 'data/cityscapes/annotations/val',
'split': 'val'
},
'cityscapesCoco_train': {
'name': 'cityscapesCoco',
'image_dir': 'data/cityscapes/leftImg8bit',
'anno_dir': ('data/cityscapes/annotations/train', 'data/cityscapes/annotations/train_val'),
'split': 'train'
},
'cityscapesCoco_val': {
'name': 'cityscapesCoco',
'image_dir': 'data/cityscapes/leftImg8bit/val',
'anno_dir': 'data/cityscapes/coco_ann/instance_val.json',
'split': 'val'
},
'cityscapesCoco_gen': {
'name': 'cityscapesCoco',
'image_dir': 'data/SYNTHIA/images',
'anno_dir': 'data/SYNTHIA/annotations/instancesonly_train.json',
'split': 'val'
},
'cityscapes_test': {
'name': 'cityscapes',
'image_dir': 'data/cityscapes/leftImg8bit/test',
'anno_dir': 'data/cityscapes/annotations/test',
'split': 'test'
},
'coco_parcel_iFly_Train': {
'name': 'coco_parcel',
'image_dir': data_dir_iFLy + 'train',
'anno_dir': data_dir_iFLy + 'annotations/train.json',
'split': 'train'
},
'coco_parcel_iFly_Val': {
'name': 'coco_parcel',
'image_dir': data_dir_iFLy + 'test',
'anno_dir': data_dir_iFLy + 'annotations/test.json',
'split': 'val'
},
'coco_parcel_iFly_Test': {
'name': 'coco_parcel',
'image_dir': '/home/py21/changguang_parcel/top1_baseline/out_shp/chusai_test/512-512/images',
'anno_dir': '/home/py21/changguang_parcel/top1_baseline/out_shp/chusai_test/512-512/annotations/chusai_test.json',
'split': 'test'
},
'coco_parcel_iFly_Test_overlap': {
'name': 'coco_parcel',
'image_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region',
'anno_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region/test_region_coco.json',
'split': 'test'
},
'coco_parcel_iFly_Test_overlap_CGDZ_8_offset': {
'name': 'coco_parcel',
'image_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region/CGDZ_8_offset',
'anno_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region/CGDZ_8_offset/test_region_coco.json',
'split': 'test'
},
'coco_parcel_iFly_Test_overlap_CGMY_8_offset': {
'name': 'coco_parcel',
'image_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region1/CGMY_8_offset',
'anno_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region1/CGMY_8_offset/test_region_coco.json',
'split': 'test'
},
'coco_parcel_iFly_Test_overlap_CGMY_8_offset_512': {
'name': 'coco_parcel',
'image_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region1_512_384/CGMY_8_offset',
'anno_dir': '/home/py21/E2EC_parcel/test_overlap_infer_region1_512_384/CGMY_8_offset/test_region_coco.json',
'split': 'test'
},
}