Skip to content

Commit

Permalink
适配第三方模型参数的加载
Browse files Browse the repository at this point in the history
  • Loading branch information
novioleo committed Jun 12, 2020
1 parent 356662c commit 7dd7ca4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/rec_train_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
###
rec_train_options = {
# for train
'resume_from': None,
'resume_from': '/home/novio/project/PytorchOCR/rec_r34_vd_none_bilstm_ctc/best_accuracy.pdparams',
'third_party_name': 'paddle',
'checkpoint_save_dir': "./out_dir/checkpoint",
'device': 'cuda:0',
'base_lr': 0.01,
Expand Down

0 comments on commit 7dd7ca4

Please sign in to comment.