使用gpu识别多张图片时增加利用率[悬赏200元] #14493
freemedom
started this conversation in
Ideas & Features
Replies: 1 comment
-
要提高GPU利用率并加速多张图片的识别,可以从以下几个方面入手: 1. 优化数据加载和预处理
2. 批量处理
3. 多进程与多线程
4. 模型优化
5. 分布式计算
6. 工具和框架支持
7. 显存占用优化
具体实施建议
如果仍有问题,可以分享你的代码结构以及具体瓶颈,这样能够更精准定位问题。 希望这些建议能帮助你解决 GPU 利用率和速度问题! Response generated by feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
实现这个容易吗,目前还是速度慢,cpu和gpu都跑不满。我写了个多进程的代码,但是开4个进程也是跑不满,而且占用内存显存太多。
cpu 40% gpu20%
我研究了一下,一个可能的思路就是一次给模型传进去多张图片,目前一次只能传一张
Beta Was this translation helpful? Give feedback.
All reactions