topdu commited on
Commit
4842f28
1 Parent(s): 695a4a4

update app

Browse files
Files changed (2) hide show
  1. tools/infer_e2e.py +1 -1
  2. tools/infer_rec.py +1 -1
tools/infer_e2e.py CHANGED
@@ -28,7 +28,7 @@ from tools.utils.logging import get_logger
28
  root_dir = Path(__file__).resolve().parent
29
  DEFAULT_CFG_PATH_DET = str(root_dir / '../configs/det/dbnet/repvit_db.yml')
30
  DEFAULT_CFG_PATH_REC_SERVER = str(root_dir /
31
- '../configs/det/svtrv2/svtrv2_ch.yml')
32
  DEFAULT_CFG_PATH_REC = str(root_dir / '../configs/rec/svtrv2/repsvtr_ch.yml')
33
 
34
  logger = get_logger()
 
28
  root_dir = Path(__file__).resolve().parent
29
  DEFAULT_CFG_PATH_DET = str(root_dir / '../configs/det/dbnet/repvit_db.yml')
30
  DEFAULT_CFG_PATH_REC_SERVER = str(root_dir /
31
+ '../configs/rec/svtrv2/svtrv2_ch.yml')
32
  DEFAULT_CFG_PATH_REC = str(root_dir / '../configs/rec/svtrv2/repsvtr_ch.yml')
33
 
34
  logger = get_logger()
tools/infer_rec.py CHANGED
@@ -23,7 +23,7 @@ logger = get_logger()
23
 
24
  root_dir = Path(__file__).resolve().parent
25
  DEFAULT_CFG_PATH_REC_SERVER = str(root_dir /
26
- '../configs/det/svtrv2/svtrv2_ch.yml')
27
  DEFAULT_CFG_PATH_REC = str(root_dir / '../configs/rec/svtrv2/repsvtr_ch.yml')
28
  DEFAULT_DICT_PATH_REC = str(root_dir / './utils/ppocr_keys_v1.txt')
29
 
 
23
 
24
  root_dir = Path(__file__).resolve().parent
25
  DEFAULT_CFG_PATH_REC_SERVER = str(root_dir /
26
+ '../configs/rec/svtrv2/svtrv2_ch.yml')
27
  DEFAULT_CFG_PATH_REC = str(root_dir / '../configs/rec/svtrv2/repsvtr_ch.yml')
28
  DEFAULT_DICT_PATH_REC = str(root_dir / './utils/ppocr_keys_v1.txt')
29