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

mnc doesnt recognize any object #46

Open
limorbagizada opened this issue Feb 26, 2017 · 8 comments
Open

mnc doesnt recognize any object #46

limorbagizada opened this issue Feb 26, 2017 · 8 comments

Comments

@limorbagizada
Copy link

I try to run the demo, with the suggested trained MNC model and the original 5 images, but the output images getting from the algorithm are black without any recognized objects in the picture.I notice that the im_detect function return very low scores, lower than 0.1
I didn't change anything in the code, what can be the problem?

@Guominyingxiongququ
Copy link

I have the same issue...

@PangolinLE314
Copy link

I have the same issue when working with GTX1080 GPU and cuDNN v4. Build with CuDNN V5 solved this problem.

@AndreiBarsan
Copy link

Alternatively, a dirty solution is to disable cuDNN. In my case, inference still runs reasonably fast wihthout cuDNN.

@PangolinLE314 I sadly could not build MNC's fork of Caffe with cuDNN 5. Did you have to do anything in particular to get it to build with cuDNN 5?

@PangolinLE314
Copy link

PangolinLE314 commented May 2, 2017

@AndreiBarsan
Here is the solution from manipopopo:

cd caffe-fast-rcnn  
git remote add caffe https://github.com/BVLC/caffe.git  
git fetch caffe  
git merge -X theirs caffe/master  

Remove self_.attr("phase") = static_cast(this->phase_); from include/caffe/layers/python_layer.hpp after merging.

rbgirshick/py-faster-rcnn#237 (comment)

@AndreiBarsan
Copy link

AndreiBarsan commented May 4, 2017

@PangolinLE314 awesome! That worked! I could build with cuDNN 5, all the Caffe tests passed, and inference is now considerably faster and uses less memory. Thank you very much!

@deartonym
Copy link

@PangolinLE314
I have exactly the same problem and thanks PangolinLE.

@mldm4
Copy link

mldm4 commented Oct 20, 2017

Hi, I am having this problem working with cuDNN4. I have done what @PangolinLE314 proposes, but then I got pycaffe could not import NCCL nor Timer. If anyone has a clue about what I could do I would be extremely grateful. Cheers!

@mtbui2010
Copy link

Hi, I have the same problem with @mldm4. Please give me a guide if you did solve this issue. I am using cuda 6.5, cudnn 4.0 on the ubuntu 14.04.

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

7 participants