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_example结果的问题 #54

Closed
652994331 opened this issue May 20, 2020 · 5 comments · Fixed by #55
Closed

关于gpu_example结果的问题 #54

652994331 opened this issue May 20, 2020 · 5 comments · Fixed by #55

Comments

@652994331
Copy link

安装GPU 镜像后, 在docker 中运行gpu_example.py 的过程中,出现了如下问题
image
目前已通过修改 代码中该部分为如下图 解决
image
首先想问问这种改法是否正确

第二是跑出来的结果是
image
对这个0.42的意义不是很清楚, 想请教一下。
非常感谢

@feifeibear feifeibear linked a pull request May 20, 2020 that will close this issue
@feifeibear
Copy link
Collaborator

This a bug. I am going to fix it. The value is the max diff between torch and turbo.

@652994331
Copy link
Author

谢谢您。请问这个diff 指的是CPU预测的速度吗,比如说我想测试一下TURBO GPU的预测一条样本的速度这个要怎么解决呢

@feifeibear
Copy link
Collaborator

feifeibear commented May 20, 2020

这个脚本就是展示如何使用,并没测试速度,diff是结果数值上的差距。
速度可以在benchmark目录下测试。

@652994331
Copy link
Author

就是说 在benchmark 目录下 自己去开发一个脚本来测速对吧

@feifeibear
Copy link
Collaborator

benchmark已有的脚本就可以测,或者你自己写benchmark的方法都可以

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

Successfully merging a pull request may close this issue.

2 participants