-
Notifications
You must be signed in to change notification settings - Fork 4
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
Installation using newer CUDA versions & enforcing GPU mode #2
Comments
Thank you very much for your helpful comments. I added the |
Hi and thanks for sharing the code! To save other people some time in reproducing the results:
In order to get the code running on newer versions of CUDA and cudnn (9.0 and 7.1.4.18 in my case), I applied the following pull request to the official caffe distribution, instead of using the 3-year old version that is linked as a submodule in rbgirshick's fast-rcnn: BVLC/caffe#4163. This pull request incorporates the necessary roi-pooling layers etc. and is able to load the provided models.
Initially, the detector was running extremely slow at only 0.2 Hz. I had to add a call to
caffe.set_mode_gpu()
immediately before the call toim_detect(...)
in the message callback indetection_tracking.py
. Now I reach around 15 Hz on a GTX 1080 Ti. The issue appears to be related to the threading model of rospy: rbgirshick/py-faster-rcnn#286The text was updated successfully, but these errors were encountered: