polish error message
This commit is contained in:
parent
6b208bcd75
commit
9393a1b311
|
@ -148,7 +148,7 @@ if __name__ == "__main__":
|
||||||
"Please read the FAQ:https://github.com/PaddlePaddle/PaddleOCR#faq \n"
|
"Please read the FAQ:https://github.com/PaddlePaddle/PaddleOCR#faq \n"
|
||||||
"If your model has tps module: "
|
"If your model has tps module: "
|
||||||
"TPS does not support variable shape.\n"
|
"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()
|
exit()
|
||||||
for ino in range(len(img_list)):
|
for ino in range(len(img_list)):
|
||||||
print("Predicts of %s:%s" % (valid_image_file_list[ino], rec_res[ino]))
|
print("Predicts of %s:%s" % (valid_image_file_list[ino], rec_res[ino]))
|
||||||
|
|
Loading…
Reference in New Issue