RobustVideoMatting icon indicating copy to clipboard operation
RobustVideoMatting copied to clipboard

how to enhance the model‘s performence when running on cpu ?

Open kyriewentop opened this issue 3 years ago • 7 comments

If there are some methods I can take to accelerate the inference speed by cpu ? I got a task which is to make it feasible that the model's inference speed is above 15fps without gpu . It bothers me a lot , I guess I need some help.

kyriewentop avatar Feb 07 '22 05:02 kyriewentop

I have tested on RTX 3060Ti and intel i7-7700K, the model's inference speed is about 30fps and 2fps. It is a far cry from the offical documents.

amcones avatar Feb 08 '22 11:02 amcones

I have tested on RTX 3060Ti and intel i7-7700K, the model's inference speed is about 30fps and 2fps. It is a far cry from the offical documents.

I got the similar results to yours.

kyriewentop avatar Feb 09 '22 05:02 kyriewentop

Do you deploy it with cpp?

PFC-star avatar Feb 19 '22 08:02 PFC-star

cpp+onnx推理,我的结果也一样2fps左右

Xzavierlovescoding avatar Feb 21 '22 11:02 Xzavierlovescoding

如果有一些方法,我可以采取cpu来加速推理速度?我得到了一个任务,即使模型的推理速度在没有gpu的情况下高于15fps。这让我很困扰,我想我需要一些帮助。

尝试框架

cvDFT avatar Apr 15 '22 08:04 cvDFT

openvino加速cpu最快,能有个3-5倍

yuqilol avatar Jan 27 '24 06:01 yuqilol