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

batch测试 #17

Closed
yja1 opened this issue Jul 13, 2017 · 4 comments
Closed

batch测试 #17

yja1 opened this issue Jul 13, 2017 · 4 comments

Comments

@yja1
Copy link

yja1 commented Jul 13, 2017

请问我想改成按照一个batch来测试,要怎么改呢?麻烦么?

@yja1 yja1 closed this as completed Jul 14, 2017
@DaFuCoding
Copy link
Owner

@yja1 你说的batch是pnet还是rnet,onet?
如果是pnet输入的话, 如果是Test阶段默认batch=1
如果是rnet或者是onet, ClassifyFace 代替 ClassifyFace_MulImage, 但是如果使用ClassifyFace最好使用CPU, 因为使用GPU有些还没有解决的问题。

@yja1
Copy link
Author

yja1 commented Jul 16, 2017

首先感谢您的回复。
我是想要做多路视频的检测(GPU),所以要求速度。想通过提高batch来提速(虽然我测的三个网络的时间并不是耗时的关键,但是增大batch总不会慢)。周五我已经改差不多了。

@DaFuCoding
Copy link
Owner

OK, 如代码有什么问题随时提问, 祝你成功~

@sunjunlishi
Copy link

ClassifyFace_MulImage 感觉 GPU 执行 错误,难道 必须用你的 layer ?
ClassifyFace GPU 就没有问题。
@DaFuCoding 模型比其他模型都要快

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

3 participants