Open mobeeniqbal101 opened 2 years ago
The following python folder is present in the build folder, but the error is still appearing:
During Building process following warning appears again and again:
_/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:8: warning: enumeration value ‘CUDNN_STATUS_VERSIONMISMATCH’ not handled in switch [-Wswitch] switch (status) {
It seems to be the same Problem than in issue 2157 ([https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/2157]) - a version missmatch between Cuda and cuDNN.
I am running it on Google Colab and since the warning appears the python skripts do not work anymore.
I am facing the same issue. Any solution yet?
You need to check advanced settings while building via the cmake gui, it has to do with python3 vs python2 difference.
I made it work by running !apt install --allow-change-held-packages libcudnn8=8.1.0.77-1+cuda11.2
afterwards, in order to use compatible CUDA and cuDNN versions. Not sure how this worked but I'm okay with dark magic sometimes.
Hi, I am trying to run some python examples, but I am unable to do so. I checked Build python while doing the Cmake-configuration and I can also see the following folder, but whenever I try to run I get the following error stating "cannot import pyopenpose"
Executed Command (if any)
Note: add
--logging_level 0 --disable_multi_thread
to get higher debug information.python2 01_body_from_image.py --logging_level 0 --disable_multi_thread
OpenPose Output (if any)
Errors (if any)
Error: OpenPose library could not be found. Did you enable
BUILD_PYTHON
in CMake and have this Python script in the right folder? cannot import name pyopenposeType of Issue
Select the topic(s) on your post, delete the rest:
Your System Configuration
Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK
OpenPose version: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from
Release
section (e.g., 1.2.0)? 1.7.0General configuration:
lsb_release -a
in Ubuntu): Ubuntugcc --version
in Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...?Non-default settings:
3rd-party software:
cmake --version
in Ubuntu):apt-get install libopencv-dev
(only Ubuntu); OpenPose default (only Windows); compiled from source? If so, 2.4.9, 2.4.12, 3.1, 3.2?; ...?If GPU mode issue:
cat /usr/local/cuda/version.txt
in most cases):nvidia-smi
in Ubuntu):If CPU-only mode issue:
If Python API:
python -c "import numpy; print numpy.version.version"
in Ubuntu):If Windows system:
If speed performance issue: