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

GPU推导时间正常吗? #84

Open
Onion-Skins opened this issue Apr 19, 2020 · 1 comment
Open

GPU推导时间正常吗? #84

Onion-Skins opened this issue Apr 19, 2020 · 1 comment

Comments

@Onion-Skins
Copy link

Onion-Skins commented Apr 19, 2020

我采用GPU方式识别一张A4纸大小的文稿。用darknet-ocr识别时间为12秒(采用第二次识别的时间为准,剔除初始化带来的影响),其中CTPN和OCR的时间约各占一半。
如同样的文稿在老的Chineseocr(Keras Yolo + Pytorch OCR)上识别时只用了2秒左右。
这个性能差别有点太匪夷所思了,我还特意确认了darknet-ocr运行期间确实用到了GPU(通过nvidia-smi观察),各位不知道是什么样的情况?
我的环境是Ubuntu 18.04,GPU是Telsa P4。编译和运行过程中没有出现什么错误。

@xialei2821212670
Copy link

你好,可以指导一下?

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