Spaces:
Running
Running
update app
Browse files- tools/infer_e2e.py +1 -1
- 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/
|
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/
|
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 |
|