caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Error found when tried to run OpenPose 1.7.0

Open c0316yuan opened this issue 6 months ago • 2 comments

Code: !cd openpose/build && make -jnproc

Link: https://colab.research.google.com/github/miu200521358/motion_trace_colab/blob/master/OpenposeDemo.ipynb

In file included from /content/openpose/3rdparty/caffe/include/caffe/util/device_alternate.hpp:40, from /content/openpose/3rdparty/caffe/include/caffe/common.hpp:19, from /content/openpose/3rdparty/caffe/include/caffe/blob.hpp:8, from /content/openpose/3rdparty/caffe/include/caffe/layers/cudnn_tanh_layer.hpp:6, from /content/openpose/3rdparty/caffe/src/caffe/layers/cudnn_tanh_layer.cpp:4: /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’: /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_SUBLIBRARY_VERSION_MISMATCH’ not handled in switch [-Wswitch] 21 | switch (status) { | ^ /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_SERIALIZATION_VERSION_MISMATCH’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_DEPRECATED’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_SUBLIBRARY_LOADING_FAILED’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_NULL_POINTER’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_MISALIGNED_POINTER’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_NOT_FINALIZED’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_OUT_OF_BOUND’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_SIZE_INSUFFICIENT’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_STREAM_MISMATCH’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_SHAPE_MISMATCH’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_DUPLICATED_ENTRIES’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_BAD_PARAM_ATTRIBUTE_TYPE’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_GRAPH_PATTERN’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_SHAPE’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_DATA_TYPE’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_LAYOUT’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_INCOMPATIBLE_CUDA_DRIVER’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_INCOMPATIBLE_CUDART’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_SUBLIBRARY_UNAVAILABLE’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_SHARED_MEMORY_INSUFFICIENT’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_PADDING’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_NOT_SUPPORTED_BAD_LAUNCH_PARAM’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_INTERNAL_ERROR_COMPILATION_FAILED’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_INTERNAL_ERROR_UNEXPECTED_VALUE’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_INTERNAL_ERROR_DEVICE_ALLOCATION_FAILED’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_INTERNAL_ERROR_BAD_LAUNCH_PARAM’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_EXECUTION_FAILED_CUDA_DRIVER’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_EXECUTION_FAILED_CUBLAS’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_EXECUTION_FAILED_CUDART’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_EXECUTION_FAILED_CURAND’ not handled in switch [-Wswitch] /content/openpose/3rdparty/caffe/include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_VERSION_MISMATCH’ not handled in switch [-Wswitch] make[5]: *** [src/caffe/CMakeFiles/caffe.dir/build.make:874: src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [CMakeFiles/Makefile2:391: src/caffe/CMakeFiles/caffe.dir/all] Error 2 make[3]: *** [Makefile:149: all] Error 2 make[2]: *** [CMakeFiles/openpose_lib.dir/build.make:130: caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/openpose_lib.dir/all] Error 2 make: *** [Makefile:103: all] Error 2

c0316yuan avatar Jun 25 '25 02:06 c0316yuan

seems like version incompatibility with your cuda/cudnn version. You can try to buld without gpu support or find a version of cuda and cudnn author uses in this python notebook. Try to install 11.0 11.1 or 11.4, because author mention latest CMake as of 2021.03.03, so 11.4 cuda was latest at that moment

workingforfood avatar Jul 18 '25 13:07 workingforfood

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

dragonQian avatar Jul 18 '25 13:07 dragonQian