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

Slow inference on KITTI dataset #11

Open
cattaneod opened this issue Jul 30, 2018 · 3 comments
Open

Slow inference on KITTI dataset #11

cattaneod opened this issue Jul 30, 2018 · 3 comments

Comments

@cattaneod
Copy link

I'm running your code on the KITTI dataset, but the runtime for processing a single image pair is around 0.35s instead of 0.12s as stated in the paper.

In order to run it at 0.12s i have to decrese the MAX_SIZE up to 300000, losing lot of details.

Can you help me run your code faster using full image size? thanks!

@leonzfa
Copy link
Owner

leonzfa commented Aug 5, 2018

@catta202000 Their are two networks here. One is used in the CVPR paper, which corresponds to "deploy_iresnet.tpl.prototxt". The other is used in the ROB 2018, which corresponds to "deploy_iResNet_ROB.tpl.prototxt". The latter costs more time. In the CVPR paper, we did not enlarge the image, and just resized the images to integral multiple of 64, i.e., 384*1280 for KITTI.

@firasomran01
Copy link

When i use the MAX_SIZE stated in test_rob.py (1034496) i am getting a Failure with Aborted (core dumped).
I kept reducing MAX_SIZE till i reached 200000 in order for the testing to run. Although i am getting good disparity maps i think I am losing lots of details.
Can you please advise how to solve the Aborted error without changing the size ?
Thanks

@cattaneod
Copy link
Author

@leonzfa Thanks for your help, using "iResNet_KITTI2015.caffemodel" and "deploy_iresnet.tpl.prototxt" without enlarging the images, now the model runs at around 0.18s. Still more that the 0.12s but i guess the problem now could be the hardware? I'm using a 1080ti

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