未验证 提交 8ceae0bb 编写于 作者: H hungcao0402 提交者: GitHub

Update predict_det.py

I found that when I export model SAST to predict image, that made difference predict bounding box between inference model and train model
上级 ccf749e3
...@@ -74,7 +74,7 @@ class TextDetector(object): ...@@ -74,7 +74,7 @@ class TextDetector(object):
elif self.det_algorithm == "SAST": elif self.det_algorithm == "SAST":
pre_process_list[0] = { pre_process_list[0] = {
'DetResizeForTest': { 'DetResizeForTest': {
'resize_long': args.det_limit_side_len 'resize_long': 1536
} }
} }
postprocess_params['name'] = 'SASTPostProcess' postprocess_params['name'] = 'SASTPostProcess'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册