File tree 1 file changed +79
-0
lines changed
1 file changed +79
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : DBNet
2
+ base : ['config/icdar2015.yaml']
3
+ arch :
4
+ type : Model
5
+ backbone :
6
+ type : resnet50
7
+ pretrained : true
8
+ neck :
9
+ type : FPN
10
+ inner_channels : 256
11
+ head :
12
+ type : DBHead
13
+ out_channels : 2
14
+ k : 50
15
+ post_processing :
16
+ type : SegDetectorRepresenter
17
+ args :
18
+ thresh : 0.3
19
+ box_thresh : 0.7
20
+ max_candidates : 1000
21
+ unclip_ratio : 1.5 # from paper
22
+ metric :
23
+ type : QuadMetric
24
+ args :
25
+ is_output_polygon : false
26
+ loss :
27
+ type : DBLoss
28
+ alpha : 1
29
+ beta : 10
30
+ ohem_ratio : 3
31
+ optimizer :
32
+ type : Adam
33
+ args :
34
+ lr : 0.001
35
+ weight_decay : 0
36
+ amsgrad : true
37
+ lr_scheduler :
38
+ type : WarmupPolyLR
39
+ args :
40
+ warmup_epoch : 3
41
+ trainer :
42
+ seed : 2
43
+ epochs : 1200
44
+ log_iter : 10
45
+ show_images_iter : 50
46
+ resume_checkpoint : ' '
47
+ finetune_checkpoint : ' '
48
+ output_dir : output
49
+ tensorboard : true
50
+ dataset :
51
+ train :
52
+ dataset :
53
+ args :
54
+ data_path :
55
+ - ./datasets/train.txt
56
+ img_mode : RGB
57
+ loader :
58
+ batch_size : 16
59
+ shuffle : true
60
+ pin_memory : true
61
+ num_workers : 6
62
+ collate_fn : ' '
63
+ validate :
64
+ dataset :
65
+ args :
66
+ data_path :
67
+ - ./datasets/test.txt
68
+ pre_processes :
69
+ - type : ResizeShortSize
70
+ args :
71
+ short_size : 736
72
+ resize_text_polys : false
73
+ img_mode : RGB
74
+ loader :
75
+ batch_size : 1
76
+ shuffle : true
77
+ pin_memory : false
78
+ num_workers : 6
79
+ collate_fn : ICDARCollectFN
You can’t perform that action at this time.
0 commit comments