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

demo gpu模式测试 #4

Closed
Anglechina opened this issue Sep 9, 2021 · 1 comment
Closed

demo gpu模式测试 #4

Anglechina opened this issue Sep 9, 2021 · 1 comment

Comments

@Anglechina
Copy link

感谢,测试CPU已经通过,耗时大约0.3s,然后自己想测试GPU版本效果的时候发现时间和CPU效果一致,VisualizationDemo初始化的时候已经修改parallel为true,且开启了多次循环测试,发现时间还是和CPU相当。添加日志证明确实是调用的AsyncPredictor,您是否方便给些指导?已确认环境安装无误

@lucasjinreal
Copy link

@Anglechina Your test is already GPU mode not GPU mode, since in SOTR class it will convert model to cuda:

image

default is GPU.

In another words, this model, GPU speed is 100ms above. quite slow.

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