polish error message

This commit is contained in:
tink2123 2020-06-05 11:29:02 +08:00
parent 6b208bcd75
commit 9393a1b311
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ if __name__ == "__main__":
"Please read the FAQhttps://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]))