-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
49 lines (36 loc) · 856 Bytes
/
config.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
"""
DATASET_TYPE = 1 => voc dataset
DATASET_TYPE = 2 => kitti dataset
"""
DATASET_TYPE = 1
EPOCHS = 100
CUDA_DEVICES = '6'
VOC_BATCH_SIZE = 8
KITTI_BATCH_SIZE = 24
# VOC_ROOT_DIR = '/home/CN/zhenglin.zhou/Documents/VOC/VOCdevkit/'
# KITTI_ROOT_DIR = '/home/CN/zhenglin.zhou/Documents/Kitti/training/'
VOC_ROOT_DIR = 'D:/VOC/VOCdevkit'
KITTI_ROOT_DIR = 'D:/KITTI/training'
""" RANDOM FLIP """
RANDOM_FLIP = False
""" AUTOAUGMENT """
AUTOAUGMENT = False
AUTO_POLICY = 'v4'
""" GRIDMASK """
GRID = False
GRID_ROTATE = 1
GRID_OFFSET = 0
GRID_RATIO = 0.5
GRID_MODE = 1
GRID_PROB = 0.5
""" SMALL OBJECT AUGMENTATION """
SMALL_OBJECT_AUGMENTATION = True
SOA_THRESH = 64*64
SOA_PROB = 1
SOA_COPY_TIMES = 3
SOA_EPOCHS = 30
SOA_ONE_OBJECT = False
SOA_ALL_OBJECTS = False
""" MIXUP(TODO) """
MIXUP = False
MIXUP_ALPHA = 1