-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathretrain.cfg
48 lines (43 loc) · 975 Bytes
/
retrain.cfg
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
# Overall configs
class_list = config/chars.names
model_config = config/yolov3.cfg
images_per_class = 10000
aug_compose = 1
early_stop = 1
max_epochs = 100
conf_check_num = 10
logs_per_epoch = 50
parallel = 1
# Initial training settings
initial_set = data/train
train_init = 0.70
valid_init = 0.15
# Sampling and retraining settings
sample_set = data/sample
sampling_batch = 500
bandwidth = 300
train_sample = 0.80
valid_sample = 0.10
retrain_new = 0.75
# Output folders
log = ./logs/
output = ./output/
checkpoints = ./checkpoints/
# More hyperparameters for training
img_size = 416
batch_size = 32
clip = 1.0
gradient_accumulations = 2
evaluation_interval = 1
checkpoint_interval = 1
multiscale = 1
n_cpu = 8
iou_thres = 0.5
# Confidence for initial object detection
conf_thres = 0.5
# Confidence cutoff for a positive result
pos_thres = 0.3
nms_thres = 0.4
# UP stopping critera parameters
successions = 3
strip_len = 2