"include/vscode:/vscode.git/clone" did not exist on "2d0649336dd02029e374b8ec0ded74a92e029fc0"
Unverified Commit b8a98bc3 authored by andyjpaddle's avatar andyjpaddle Committed by GitHub
Browse files

[CP]Fix sar infer shape (#7199)

* update doc for quickstart

* update some note

* fix sar infer shape
parent 61b03628
...@@ -266,7 +266,7 @@ class TextRecognizer(object): ...@@ -266,7 +266,7 @@ class TextRecognizer(object):
for beg_img_no in range(0, img_num, batch_num): for beg_img_no in range(0, img_num, batch_num):
end_img_no = min(img_num, beg_img_no + batch_num) end_img_no = min(img_num, beg_img_no + batch_num)
norm_img_batch = [] norm_img_batch = []
imgC, imgH, imgW = self.rec_image_shape imgC, imgH, imgW = self.rec_image_shape[:3]
max_wh_ratio = imgW / imgH max_wh_ratio = imgW / imgH
# max_wh_ratio = 0 # max_wh_ratio = 0
for ino in range(beg_img_no, end_img_no): for ino in range(beg_img_no, end_img_no):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment