About compiling in a conda virtual environment on linux
BluebirdStory opened this issue · comments
I have successfully compiled your version of caffe in the default environment, i.e. not the conda virtual env. I don't understand why every time I switch to the conda env, the CUDNN will go wrong. Do I need to install an independent CUDA and CUDNN in the virtual env?
This error occurs if you have CuDNN > 5. You can switch to CuDNN 5, but it's easy to fix the code your self: in include/caffe/util/cudnn.h
, line 113 (check the documentation of CuDNN!) the function cudnnSetConvolution2dDescriptor
now expects an additional argument (I think it's something like "datatype float"). Fixing that should make the CuDNN problem disappear. I've tested it with up to CuDNN 7.3 and I think this was the only necessary change.
Thank you sooooo much, you are my hero!!! @nikolausmayer