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

how to set batch_size correctly in client #933

Closed
Jakel21 opened this issue Dec 21, 2020 · 0 comments
Closed

how to set batch_size correctly in client #933

Jakel21 opened this issue Dec 21, 2020 · 0 comments
Assignees
Labels

Comments

@Jakel21
Copy link

Jakel21 commented Dec 21, 2020

检测服务的示例中没有给出设置batch_size的方法,在Fater_RCNN中benckmark.py里:
image
但是benchmark中所有的图都是一张..........
而如果按照batch_feed的方法输送给client.predict(),返回的结果中不区分图片.....所以的结果都是存在一起的:
image
那么我要是输送多张图,结果该怎么对应呢?postprocess怎么做呢?
其他疑问,希望帮忙解答下哈:

  1. RCNNpostprocess中做可视化的部分:
    image
    benchmark.py中直接给的时图片,不太对应吧....
    2.benchmark中batchsize增大qps降低??
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants