This commit is contained in:
tink2123 2020-05-11 18:05:57 +08:00
parent bb77985182
commit d27ae42a45
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Global:
character_dict_path: ./ppocr/utils/ppocr_keys_v1.txt character_dict_path: ./ppocr/utils/ppocr_keys_v1.txt
loss_type: ctc loss_type: ctc
reader_yml: ./configs/rec/rec_chinese_reader.yml reader_yml: ./configs/rec/rec_chinese_reader.yml
pretrain_weights: best_accuracy pretrain_weights:
infer_img: ./infer_img infer_img: ./infer_img
Architecture: Architecture:

View File

@ -20,7 +20,6 @@ import os
import time import time
import multiprocessing import multiprocessing
import numpy as np import numpy as np
import glob
def set_paddle_flags(**kwargs): def set_paddle_flags(**kwargs):
for key, value in kwargs.items(): for key, value in kwargs.items():