From 89496d4ab74028dd2cba4a8598032a64460e7fd8 Mon Sep 17 00:00:00 2001 From: MissPenguin Date: Mon, 21 Jun 2021 12:27:03 +0000 Subject: [PATCH] refine --- ppocr/postprocess/rec_postprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py index 7c9912b9..8426bcf2 100644 --- a/ppocr/postprocess/rec_postprocess.py +++ b/ppocr/postprocess/rec_postprocess.py @@ -362,7 +362,7 @@ class TableLabelDecode(object): self.end_str = "eos" list_character = [self.beg_str] + list_character + [self.end_str] return list_character - + def __call__(self, preds): structure_probs = preds['structure_probs'] loc_preds = preds['loc_preds'] -- GitLab