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

有没有max_batch大于1个的yolov5模型? #18

Open
ijiami-01 opened this issue Mar 11, 2024 · 1 comment
Open

有没有max_batch大于1个的yolov5模型? #18

ijiami-01 opened this issue Mar 11, 2024 · 1 comment

Comments

@ijiami-01
Copy link

ijiami-01 commented Mar 11, 2024

如题,我在加载模型的时候,发现max_batch只有1,那么理论上,应该一次推理只能接受一张图片,可我希望达到的效果是,多张(比如3张,或者可以自定义图片数量)图片送去推理,然后如果3张图片的推理结果都超过了阈值,那么才将检测框画出来。
image

@yizhou-xu
Copy link
Collaborator

下载的文件里有多batch的,也可以自己转。后面描述的逻辑可以自己实现

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