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
Note: add --logging_level 0 --disable_multi_thread to get higher debug information.
python3 01_body_from_image.py
Errors (if any)
ERROR: something wrong with flag 'flagfile' in file '/pose_estimator/gflags/src/gflags.cc' One possibility: '/pose_estimator/gflags/src/gflags.cc' is being linked both statically and dynamically into this executable.
Type of Issue
Execution error
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
General configuration:
Installation mode:(Ubuntu); CMake-gui
Operating system (Ubuntu):Ubuntu
Operating system version (Ubuntu 16):Ubuntu 16.04
Release or Debug mode? (release):release
Compiler (gcc --version in Ubuntu ): 5.4.0
Non-default settings:
3-D Reconstruction module added? (no):
Any other custom CMake configuration with respect to the default version? ( no):
GPU model (nvidia-smi in Ubuntu):
| NVIDIA-SMI 418.39 Driver Version: 418.39 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 00000000:01:00.0 On | N/A |
| 47% 27C P8 16W / 250W | 789MiB / 11175MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
If Python API:
Python version: 3.5
Numpy version:1.14
The text was updated successfully, but these errors were encountered:
DragonAndSky
changed the title
I successfully ran build/examples/openpose/openpose.bin but failed to run 01_body_from_image.py any one can help me?
I successfully ran build/examples/openpose/openpose.bin. but failed to run 01_body_from_image.py .any one can help me?
Mar 28, 2019
DragonAndSky
changed the title
I successfully ran build/examples/openpose/openpose.bin. but failed to run 01_body_from_image.py .any one can help me?
I successfully ran build/examples/openpose/openpose.bin . but failed to run 01_body_from_image.py .any one can help me?
Mar 28, 2019
Hi, I have fixed this problem.
It is caused by using the dynamic glog library and the static gflags library to complie caffe or openpose.
Like this described.
So you need to rebuild gflags to get the dynamic gflags library.
eg: cd GFLAGS_SRC_DIR mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON .. make sudo make install sudo ldconfig
Then you can change the CmakeCache.txt manually as below:
origin: GFLAGS_LIBRARY:FILEPATH=/usr/local/lib/libgflags.a
after change: GFLAGS_LIBRARY:FILEPATH=/usr/local/lib/libgflags.so
then make clean and rebuild
maybe it works for you.
Executed Command (if any)
Note: add
--logging_level 0 --disable_multi_thread
to get higher debug information.python3 01_body_from_image.py
Errors (if any)
ERROR: something wrong with flag 'flagfile' in file '/pose_estimator/gflags/src/gflags.cc' One possibility: '/pose_estimator/gflags/src/gflags.cc' is being linked both statically and dynamically into this executable.
Type of Issue
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
General configuration:
gcc --version
in Ubuntu ): 5.4.0Non-default settings:
3rd-party software:
cmake --version
in Ubuntu): 3.5.1If GPU mode issue:
nvidia-smi
in Ubuntu):| NVIDIA-SMI 418.39 Driver Version: 418.39 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 00000000:01:00.0 On | N/A |
| 47% 27C P8 16W / 250W | 789MiB / 11175MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
If Python API:
The text was updated successfully, but these errors were encountered: