提交 1a11ab73 编写于 作者: B breezedeus

fix test

上级 c32b3e2a
......@@ -73,7 +73,7 @@ def test_ppocr(img_fp, expected):
img = read_img(img_fp, gray=False)
pred = ocr.recognize([img])[0]
print_preds(pred)
assert cal_score(pred, expected) >= 0.8
assert cal_score([pred], expected) >= 0.8
def test_cand_alphabet():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册