-
Notifications
You must be signed in to change notification settings - Fork 737
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
running caffe with cudnn #191
Comments
Looks like Caffe doesn't export the destructor for that... Sounds like a bug in Caffe? |
We are running equivalent code in cpp against same version of caffe which was compiled aside of javacpp-presets and we don't see any issue. We will try to debug caffe compilation process in javacpp-presets to see maybe some parts are missed during that phase. |
You've made sure to apply explicitly "delete" on one of those objects in your C++ code and it works just fine? Strange... Maybe it's another problem that might arise if we have mismatched defines in the presets.. |
The issue resolved by deleting cppbuild dir under caffe preset. For some reason previous builds affected the results of new ones. Just wondering if mvn clean should delete the build working dirs ? |
The previous build affecting the current build, I'd file that as a bug upstream. As for "mvn clean" calling "bash cppbuild.sh clean", sounds like a good idea! Could you send a PR for that? :) |
@saudet Will do that with pleasure. Actually moving cppbuild under target will do that automatically without the need to call "bash cppbuild.sh clean" |
I applied a patch which will allow building caffe with USE_CUDNN. The patch resolved the compilation errors but now when running I get an exception
java.lang.UnsatisfiedLinkError: /tmp/javacpp681349592249244/libjnicaffe.so: /tmp/javacpp681349592249244/libcaffe.so.1.0.0-rc3: undefined symbol: _ZN5caffe21CuDNNConvolutionLayerIfED1Ev
Any idea what can go wrong here ?
The text was updated successfully, but these errors were encountered: