-
Notifications
You must be signed in to change notification settings - Fork 982
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
版面检测模型时间消耗 #3394
Comments
您好,辛苦贴一下你现在的代码呢? |
np_image = np.array(img)
即使不做任何的格式转换,将for循环下改为continue,或者 |
你说的时间短或者长大概是什么量级呢? |
model.predict 时间是0.1-0.2s,for循环拿到结果或者保存结果是7s-10s,但是目前用高性能框架解决了时间问题 |
使用环境
ubuntu 22.04
Python 3.9.20
cuda 11.8
cuDNN 8.6
gpu 4090
驱动版本 550.107.02
paddlepaddle-gpu 3.0.0b2
paddlex 3.0.0b2
用docker 容器部署
在使用版面检测模型时,模型预测 model.predict所使用的时间很短
但是使用 for 循环从 output 中取出结果时,发现耗时比较长
想请教一下是什么原因?
The text was updated successfully, but these errors were encountered: