未验证 提交 a3170045 编写于 作者: M MissPenguin 提交者: GitHub

Update test_hubserving.py

上级 4da55955
......@@ -87,7 +87,7 @@ def main(url, image_path):
total_time += elapse
print("Predict time of %s: %.3fs" % (image_file, elapse))
res = r.json()["results"][0]
# print(res)
print(res)
if is_visualize:
draw_img = draw_server_result(image_file, res)
......@@ -111,4 +111,4 @@ if __name__ == '__main__':
else:
server_url = sys.argv[1]
image_path = sys.argv[2]
main(server_url, image_path)
\ No newline at end of file
main(server_url, image_path)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册