From 9393a1b311764cd190710ea15de28312425e070c Mon Sep 17 00:00:00 2001 From: tink2123 Date: Fri, 5 Jun 2020 11:29:02 +0800 Subject: [PATCH] polish error message --- tools/infer/predict_rec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/infer/predict_rec.py b/tools/infer/predict_rec.py index 3417d500..d47b81af 100755 --- a/tools/infer/predict_rec.py +++ b/tools/infer/predict_rec.py @@ -148,7 +148,7 @@ if __name__ == "__main__": "Please read the FAQ:https://github.com/PaddlePaddle/PaddleOCR#faq \n" "If your model has tps module: " "TPS does not support variable shape.\n" - "Please set --rec_image_shape=input_shape and --rec_char_type='en' ") + "Please set --rec_image_shape='3,32,100' and --rec_char_type='en' ") exit() for ino in range(len(img_list)): print("Predicts of %s:%s" % (valid_image_file_list[ino], rec_res[ino]))