未验证 提交 07baa6d3 编写于 作者: W wangguanzhong 提交者: GitHub

fix python inference without resize (#1070)

上级 dd87d289
......@@ -433,7 +433,7 @@ class Detector():
def preprocess(self, im):
# process image by preprocess_ops
im_info = {
'scale': 1.,
'scale': [1., 1.],
'origin_shape': None,
'resize_shape': None,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册