提交 db3b1317 编写于 作者: H HexToString

fix ssd test_client bug

上级 9fe65331
...@@ -33,6 +33,7 @@ im = preprocess(sys.argv[1]) ...@@ -33,6 +33,7 @@ im = preprocess(sys.argv[1])
fetch_map = client.predict( fetch_map = client.predict(
feed={ feed={
"image": im, "image": im,
"im_shape": np.array([512, 512]),
"scale_factor": np.array([1.0, 1.0]).reshape(-1), "scale_factor": np.array([1.0, 1.0]).reshape(-1),
}, },
fetch=["save_infer_model/scale_0.tmp_1"], fetch=["save_infer_model/scale_0.tmp_1"],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册