You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My installed packages are:
CUDA 11.7, cudnn 8.5, theano 1.0.5
When I run the convolution network in the test file of Michael Nielsen's book on Deep Learning:
Problem occurred during compilation with the command line below:
/MYHOME/anaconda3/envs/behi/bin/x86_64-conda-linux-gnu-c++ -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -Wl,-rpath,/usr/local/cuda-11.7/lib64 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC -I/MYHOME/anaconda3/envs/behi/lib/python3.10/site-packages/pygpu -I/MYHOME/anaconda3/envs/behi/lib/python3.10/site-packages/numpy/core/include -I/MYHOME/anaconda3/envs/behi/include -I/usr/local/cuda-11.7/include -I/MYHOME/anaconda3/envs/behi/lib/python3.10/site-packages/theano/gpuarray/c_code -I/MYHOME/anaconda3/envs/behi/lib/python3.10/site-packages/numpy/core/include -I/MYHOME/anaconda3/envs/behi/include/python3.10 -I/MYHOME/anaconda3/envs/behi/lib/python3.10/site-packages/theano/gof/c_code -L/MYHOME/anaconda3/envs/behi/lib -L/usr/local/cuda-11.7/lib64 -L/MYHOME/anaconda3/envs/behi/lib -fvisibility=hidden -o /MYHOME/.theano/compiledir_Linux-5.15--generic-x86_64-with-glibc2.35-x86_64-3.10.4-64/tmpf3qvese9/mc1cd627e616bc8abc33fbfac83f3f655fef0d5f1dc7018ab317b39356ccb88a5.so /MYHOME/.theano/compiledir_Linux-5.15--generic-x86_64-with-glibc2.35-x86_64-3.10.4-64/tmpf3qvese9/mod.cpp -lgpuarray -lcudnn -lpython3.10dnn_fwd.c: In member function 'int {anonymous}::__struct_compiled_op_mc1cd627e616bc8abc33fbfac83f3f655fef0d5f1dc7018ab317b39356ccb88a5::conv_fwd_node_mc1cd627e616bc8abc33fbfac83f3f655fef0d5f1dc7018ab317b39356ccb88a5_0(PyGpuArrayObject*, PyGpuArrayObject*, PyGpuArrayObject*, cudnnConvolutionDescriptor_t, double, double, PyGpuArrayObject**, _Params_c1c8b4ff173698da406f46c90c8211df3674b0478655765dc1ebaa6eb2c3f1af_1348bc2b76f74f3ee4c82e363ec6eacd0522bb7d4a29dd246904b25b733edb4a*)':
dnn_fwd.c:326:60: error: invalid conversion from 'size_t {aka long unsigned int}' to 'int*' [-fpermissive]
dnn_fwd.c:326:60: error: cannot convert 'cudnnConvolutionFwdAlgo_t*' to 'cudnnConvolutionFwdAlgoPerf_t* {aka cudnnConvolutionFwdAlgoPerfStruct*}' for argument '8' to 'cudnnStatus_t cudnnGetConvolutionForwardAlgorithm_v7(cudnnHandle_t, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, cudnnConvolutionDescriptor_t, cudnnTensorDescriptor_t, int, int*, cudnnConvolutionFwdAlgoPerf_t*)'
I understand that incompatibility of packages should be the reason, however I was wondering if there is any way to resolve this by modify the module or dnn_fwd.c or the theano's config file without downgrading the packages?
The text was updated successfully, but these errors were encountered:
My installed packages are:
CUDA 11.7, cudnn 8.5, theano 1.0.5
When I run the convolution network in the test file of Michael Nielsen's book on Deep Learning:
I bump into the following error:
I understand that incompatibility of packages should be the reason, however I was wondering if there is any way to resolve this by modify the module or dnn_fwd.c or the theano's config file without downgrading the packages?
The text was updated successfully, but these errors were encountered: