"tests/pipelines/vscode:/vscode.git/clone" did not exist on "9c03a7da43a6fecfc5d1db978f3fd7d8f3f85ae4"
Unverified Commit 190dff57 authored by topduke's avatar topduke Committed by GitHub
Browse files

Update eval.py

parent b6f0a903
......@@ -22,6 +22,7 @@ import sys
__dir__ = os.path.dirname(os.path.abspath(__file__))
sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, '..')))
from ppocr.data import build_dataloader
from ppocr.modeling.architectures import build_model
from ppocr.postprocess import build_post_process
......@@ -30,6 +31,7 @@ from ppocr.utils.save_load import init_model
from ppocr.utils.utility import print_dict
import tools.program as program
def main():
global_config = config['Global']
# build dataloader
......
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