"tools/vscode:/vscode.git/clone" did not exist on "2852335e59d3eac09194b1d8b03cf9b4c8fec3f0"
Commit bfcc5f73 authored by LDOUBLEV's avatar LDOUBLEV
Browse files

fix hubserving

parent c09ed866
......@@ -19,6 +19,7 @@ import paddlehub as hub
from tools.infer.utility import base64_to_cv2
from tools.infer.predict_system import TextSystem
from tools.infer.utility import parse_args
from deploy.hubserving.ocr_det.params import read_params
@moduleinfo(
......@@ -58,7 +59,6 @@ class OCRSystem(hub.Module):
sys.argv = sys.argv[:1]
cfg = parse_args()
from ocr_det.params import read_params
update_cfg_map = vars(read_params())
for key in update_cfg_map:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment