polish error message

revert-162-develop
tink2123 5 years ago
parent 6b208bcd75
commit 9393a1b311

@ -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]))

Loading…
Cancel
Save