|
|
@ -1,20 +1,20 @@
|
|
|
|
Global:
|
|
|
|
Global:
|
|
|
|
algorithm: CRNN
|
|
|
|
algorithm: CRNN
|
|
|
|
use_gpu: false
|
|
|
|
use_gpu: true
|
|
|
|
epoch_num: 1000
|
|
|
|
epoch_num: 1000
|
|
|
|
log_smooth_window: 20
|
|
|
|
log_smooth_window: 20
|
|
|
|
print_batch_step: 10
|
|
|
|
print_batch_step: 10
|
|
|
|
save_model_dir: ./output/rec_CRNN
|
|
|
|
save_model_dir: ./output/rec_CRNN
|
|
|
|
save_epoch_step: 300
|
|
|
|
save_epoch_step: 300
|
|
|
|
eval_batch_step: 500
|
|
|
|
eval_batch_step: 500
|
|
|
|
train_batch_size_per_card: 2
|
|
|
|
train_batch_size_per_card: 256
|
|
|
|
test_batch_size_per_card: 2
|
|
|
|
test_batch_size_per_card: 256
|
|
|
|
image_shape: [3, 32, 100]
|
|
|
|
image_shape: [3, 32, 100]
|
|
|
|
max_text_length: 25
|
|
|
|
max_text_length: 25
|
|
|
|
character_type: en
|
|
|
|
character_type: en
|
|
|
|
loss_type: ctc
|
|
|
|
loss_type: ctc
|
|
|
|
reader_yml: ./configs/rec/rec_icdar15_reader.yml
|
|
|
|
reader_yml: ./configs/rec/rec_icdar15_reader.yml
|
|
|
|
pretrain_weights:
|
|
|
|
pretrain_weights: ./pretrain_models/rec_mv3_none_bilstm_ctc/best_accuracy
|
|
|
|
checkpoints:
|
|
|
|
checkpoints:
|
|
|
|
save_inference_dir:
|
|
|
|
save_inference_dir:
|
|
|
|
infer_img:
|
|
|
|
infer_img:
|
|
|
|