{"action":"created","issue":{"url":"https://api.github.com/repos/chuckcho/video-caffe/issues/18","repository_url":"https://api.github.com/repos/chuckcho/video-caffe","labels_url":"https://api.github.com/repos/chuckcho/video-caffe/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/chuckcho/video-caffe/issues/18/comments","events_url":"https://api.github.com/repos/chuckcho/video-caffe/issues/18/events","html_url":"https://github.com/chuckcho/video-caffe/issues/18","id":159162929,"number":18,"title":"support cuDNN V5?","user":{"login":"ruizhaogit","id":18663623,"avatar_url":"https://avatars.githubusercontent.com/u/18663623?v=3","gravatar_id":"","url":"https://api.github.com/users/ruizhaogit","html_url":"https://github.com/ruizhaogit","followers_url":"https://api.github.com/users/ruizhaogit/followers","following_url":"https://api.github.com/users/ruizhaogit/following{/other_user}","gists_url":"https://api.github.com/users/ruizhaogit/gists{/gist_id}","starred_url":"https://api.github.com/users/ruizhaogit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruizhaogit/subscriptions","organizations_url":"https://api.github.com/users/ruizhaogit/orgs","repos_url":"https://api.github.com/users/ruizhaogit/repos","events_url":"https://api.github.com/users/ruizhaogit/events{/privacy}","received_events_url":"https://api.github.com/users/ruizhaogit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-08T13:25:51Z","updated_at":"2016-06-10T15:45:56Z","closed_at":null,"body":"Hi @chuckcho \r\n\r\nI compiled this video-caffe with cuDNN v5.0.5 for CUDA 8.0, but got errors like following.\r\n\r\nSo, does this version of Caffe not support cuDNN v5?\r\n\r\nBest,\r\nRui\r\n\r\n```\r\n-- ******************* Caffe Configuration Summary *******************\r\n-- General:\r\n--   Version           :   1.0.0-rc3\r\n--   Git               :   v1.0-rc0-3653-g0089f35-dirty\r\n--   System            :   Linux\r\n--   C++ compiler      :   /usr/bin/c++\r\n--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized\r\n--   Debug CXX flags   :   -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized\r\n--   Build type        :   Release\r\n-- \r\n--   BUILD_SHARED_LIBS :   ON\r\n--   BUILD_python      :   ON\r\n--   BUILD_matlab      :   OFF\r\n--   BUILD_docs        :   ON\r\n--   CPU_ONLY          :   OFF\r\n--   USE_OPENCV        :   ON\r\n--   USE_LEVELDB       :   ON\r\n--   USE_LMDB          :   ON\r\n--   ALLOW_LMDB_NOLOCK :   OFF\r\n-- \r\n-- Dependencies:\r\n--   BLAS              :   Yes (Atlas)\r\n--   Boost             :   Yes (ver. 1.58)\r\n--   glog              :   Yes\r\n--   gflags            :   Yes\r\n--   protobuf          :   Yes (ver. 2.6.0)\r\n--   lmdb              :   Yes (ver. 0.9.14)\r\n--   LevelDB           :   Yes (ver. 1.18)\r\n--   Snappy            :   Yes (ver. 1.1.3)\r\n--   OpenCV            :   Yes (ver. 3.1.0)\r\n--   CUDA              :   Yes (ver. 8.0)\r\n-- \r\n-- NVIDIA CUDA:\r\n--   Target GPU(s)     :   Auto\r\n--   GPU arch(s)       :   sm_61\r\n--   cuDNN             :   Yes (ver. 5.0.5)\r\n-- \r\n-- Python:\r\n--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.9)\r\n--   Libraries         :   /usr/lib64/libpython2.7.so (ver 2.7.9)\r\n--   NumPy             :   /usr/lib64/python2.7/site-packages/numpy/core/include (ver 1.10.4)\r\n-- \r\n-- Documentaion:\r\n--   Doxygen           :   /usr/bin/doxygen (1.8.6)\r\n--   config_file       :   /home_local/C3D/new/video-caffe/.Doxyfile\r\n-- \r\n-- Install:\r\n--   Install path      :   /home_local/C3D/new/video-caffe/build/install\r\n-- \r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home_local/C3D/new/video-caffe/build\r\n```\r\n\r\n`host:/home_local/C3D/new/video-caffe/build> make clean`\r\n`hosr:/home_local/C3D/new/video-caffe/build> make all`\r\n\r\n```\r\n[  1%] Running C++/Python protocol buffer compiler on /home_local/C3D/new/video-caffe/src/caffe/proto/caffe.proto\r\nScanning dependencies of target proto\r\n[  1%] Building CXX object src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o\r\n[  1%] Linking CXX static library ../../lib/libproto.a\r\n[  1%] Built target proto\r\n[  1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(152): error: argument of type \"int *\" is incompatible with parameter of type \"cudnnTensorFormat_t *\"\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(153): error: too few arguments in function call\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(186): error: argument of type \"int\" is incompatible with parameter of type \"cudnnNanPropagation_t\"\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(186): error: too few arguments in function call\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(209): error: argument of type \"std::size_t\" is incompatible with parameter of type \"cudnnNanPropagation_t\"\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(209): error: argument of type \"int *\" is incompatible with parameter of type \"int\"\r\n\r\n/home_local/C3D/new/video-caffe/include/caffe/util/cudnn.hpp(209): error: too few arguments in function call\r\n\r\n7 errors detected in the compilation of \"/tmp/tmpxft_00007f09_00000000-5_eltwise_layer.cpp4.ii\".\r\nCMake Error at cuda_compile_generated_eltwise_layer.cu.o.cmake:266 (message):\r\n  Error generating file\r\n  /home_local/C3D/new/video-caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_eltwise_layer.cu.o\r\n\r\n\r\nsrc/caffe/CMakeFiles/caffe.dir/build.make:469: recipe for target 'src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o' failed\r\nmake[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o] Error 1\r\nCMakeFiles/Makefile2:235: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed\r\nmake[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2\r\nMakefile:127: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/chuckcho/video-caffe/issues/comments/225219392","html_url":"https://github.com/chuckcho/video-caffe/issues/18#issuecomment-225219392","issue_url":"https://api.github.com/repos/chuckcho/video-caffe/issues/18","id":225219392,"user":{"login":"ruizhaogit","id":18663623,"avatar_url":"https://avatars.githubusercontent.com/u/18663623?v=3","gravatar_id":"","url":"https://api.github.com/users/ruizhaogit","html_url":"https://github.com/ruizhaogit","followers_url":"https://api.github.com/users/ruizhaogit/followers","following_url":"https://api.github.com/users/ruizhaogit/following{/other_user}","gists_url":"https://api.github.com/users/ruizhaogit/gists{/gist_id}","starred_url":"https://api.github.com/users/ruizhaogit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruizhaogit/subscriptions","organizations_url":"https://api.github.com/users/ruizhaogit/orgs","repos_url":"https://api.github.com/users/ruizhaogit/repos","events_url":"https://api.github.com/users/ruizhaogit/events{/privacy}","received_events_url":"https://api.github.com/users/ruizhaogit/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T15:45:55Z","updated_at":"2016-06-10T15:45:55Z","body":"@chuckcho by the way, I built the newest standard caffe with cuda v5 and cuda 8. It passed all the runtests and works fun. The problem is that I don't know how to use the standard caffe to classify video. Do you know how to do that?"}}
{"actor":{"display_login":"ruizhaogit"}}