mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-10 14:53:55 +00:00
update db config
This commit is contained in:
parent
d3b609ee09
commit
2ad0ca44cd
@ -2,7 +2,7 @@ Global:
|
|||||||
use_gpu: true
|
use_gpu: true
|
||||||
epoch_num: 1200
|
epoch_num: 1200
|
||||||
log_smooth_window: 20
|
log_smooth_window: 20
|
||||||
print_batch_step: 2
|
print_batch_step: 10
|
||||||
save_model_dir: ./output/db_mv3/
|
save_model_dir: ./output/db_mv3/
|
||||||
save_epoch_step: 1200
|
save_epoch_step: 1200
|
||||||
# evaluation is run every 5000 iterations after the 4000th iteration
|
# evaluation is run every 5000 iterations after the 4000th iteration
|
||||||
@ -39,7 +39,7 @@ Loss:
|
|||||||
alpha: 5
|
alpha: 5
|
||||||
beta: 10
|
beta: 10
|
||||||
ohem_ratio: 3
|
ohem_ratio: 3
|
||||||
|
|
||||||
Optimizer:
|
Optimizer:
|
||||||
name: Adam
|
name: Adam
|
||||||
beta1: 0.9
|
beta1: 0.9
|
||||||
@ -100,7 +100,7 @@ Train:
|
|||||||
loader:
|
loader:
|
||||||
shuffle: True
|
shuffle: True
|
||||||
drop_last: False
|
drop_last: False
|
||||||
batch_size_per_card: 4
|
batch_size_per_card: 16
|
||||||
num_workers: 8
|
num_workers: 8
|
||||||
|
|
||||||
Eval:
|
Eval:
|
||||||
@ -128,4 +128,4 @@ Eval:
|
|||||||
shuffle: False
|
shuffle: False
|
||||||
drop_last: False
|
drop_last: False
|
||||||
batch_size_per_card: 1 # must be 1
|
batch_size_per_card: 1 # must be 1
|
||||||
num_workers: 2
|
num_workers: 8
|
||||||
@ -6,7 +6,7 @@ Global:
|
|||||||
save_model_dir: ./output/det_r50_vd/
|
save_model_dir: ./output/det_r50_vd/
|
||||||
save_epoch_step: 1200
|
save_epoch_step: 1200
|
||||||
# evaluation is run every 5000 iterations after the 4000th iteration
|
# evaluation is run every 5000 iterations after the 4000th iteration
|
||||||
eval_batch_step: [5000,4000]
|
eval_batch_step: [4000,5000]
|
||||||
# if pretrained_model is saved in static mode, load_static_weights must set to True
|
# if pretrained_model is saved in static mode, load_static_weights must set to True
|
||||||
load_static_weights: True
|
load_static_weights: True
|
||||||
cal_metric_during_train: False
|
cal_metric_during_train: False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user