Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于服务端部署预测 #12

Open
FL77N opened this issue Dec 21, 2021 · 1 comment
Open

关于服务端部署预测 #12

FL77N opened this issue Dec 21, 2021 · 1 comment

Comments

@FL77N
Copy link

FL77N commented Dec 21, 2021

我在使用您给的服务端部署示例中,已经走通了全部流程,可是只能输出一个结果
输出如下:
{'err_no': 0, 'err_msg': '', 'key': ['class_id', 'confidence', 'left_top', 'right_bottom'], 'value': ['[0]', '[0.92535084]', '[[283.15506, 8.095686]]', '[[636.6692, 391.48724]]'], 'tensors': []}
我做的任务是目标检测,在 infer 中,输出有 4 个 boxes,这里只显示了第一个,我换了一张图也是一样,只会输出第一个 boxes 的结果,输出的这个结果是完全和 infer 对的上的,只是还有几个没有输出。
于是,我打印了 fetch_dict 结果如下:
{'concat_5.tmp_0': array([100], dtype=int32), 'concat_6.tmp_0': array([[ 0. , 0.92535084, 283.15506 , 8.095686 , 636.6692 , 391.48724 ]], dtype=float32)}
“concat_5.tmp_0” 中的 100 表示预测的结果有 100 个 boxes,“concat_6.tmp_0” 按理说应该有 100 个结果。

@littletomatodonkey
Copy link
Owner

微信沟通已解决,暂时关闭该issue了,后续有问题随时交流

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants