Skip to content

推理不支持batch的推理 #19

Closed Answered by SWHL
qrsssh asked this question in Q&A
May 15, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

刚才认真看了你的需求,并做了评估。
大概思路是:从推理引擎层面考虑,支持batch的推理,需要将多张图做拼接,转为相同shape,才可以batch推理。
但是这样会存在识别结果不准的问题。不同大小的图像,被统一为同样大小一起识别,这势必会对某些图像造成影响。

建议:可以多开几个并发来实现

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@SWHL
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SWHL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants