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

libdeepvac的性能测试数据汇总 #26

Open
gemfield opened this issue Mar 18, 2021 · 1 comment
Open

libdeepvac的性能测试数据汇总 #26

gemfield opened this issue Mar 18, 2021 · 1 comment

Comments

@gemfield
Copy link
Contributor

gemfield commented Mar 18, 2021

树莓派 4b

  • 模块:retinaface模块;
  • Device:CPU
  • 输入:经典test1.jpg(gemfield班级照);
  • 引擎:LibTorch
  • 结果:
gemfield model load time: 0.64975
img2cvmat time: 0.00924529
begin: 0
process time: 92.8428
cv circle and write time: 0.0086217
begin: 1
process time: 92.9481
cv circle and write time: 0.00842767
begin: 2
process time: 92.0108
cv circle and write time: 0.00839388
begin: 3
process time: 91.9794
cv circle and write time: 0.00842672
@gemfield
Copy link
Contributor Author

gemfield commented Mar 18, 2021

Nvidia Jetson Xavier NX

CPU

模块:retinaface模块;
Device: CPU (注意:没有使用CUDA)
输入:经典test1.jpg(gemfield班级照);
引擎:LibTorch
结果:

gemfield model load time: 0.820636
img2cvmat time: 0.015335
begin: 0
process time: 34.6497
cv circle and write time: 0.0138636
begin: 1
process time: 40.1728
cv circle and write time: 0.0115601
begin: 2
process time: 40.4349
cv circle and write time: 0.0104319
begin: 3
process time: 40.2891
cv circle and write time: 0.0101229

备注:默认利用了多核?

CUDA

模块:retinaface模块;
Device: CUDA
输入:经典test1.jpg(gemfield班级照);
引擎:LibTorch
结果:

gemfield model load time: 7.0803
img2cvmat time: 0.0125557
begin: 0
process time: 5.30467
cv circle and write time: 0.0108595
begin: 1
process time: 2.23548
cv circle and write time: 0.00856718
begin: 2
process time: 0.353169
cv circle and write time: 0.00802247
begin: 3
process time: 0.345863
cv circle and write time: 0.00752515
begin: 4
process time: 0.340783
cv circle and write time: 0.00888463
begin: 5
process time: 0.34827
cv circle and write time: 0.00705619

备注:begin 0和1为cuda热身。

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

1 participant