Closed highway007 closed 5 years ago
I think something wrong with boost,but there is only one version of boost: ldd /home/unimation/PyOpenPose/build/PyOpenPoseLib/PyOpenPose.so |grep boost libboost_python36.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_python36.so.1.67.0 (0x00007f97ba954000) libboost_system.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0 (0x00007f97afb75000) libboost_filesystem.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.67.0 (0x00007f97afb58000) libboost_thread.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.67.0 (0x00007f97af543000) libboost_python27.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0 (0x00007f979b691000) ldd /home/unimation/PyOpenPose/build/PyOpenPoseLib/PyOpenPose.so |grep python libboost_python36.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_python36.so.1.67.0 (0x00007f202f319000) libpython3.6m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.6m.so.1.0 (0x00007f202ee6b000) libboost_python27.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0 (0x00007f2010056000) libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007f200fcea000) I'm confused about this error ,could you plz help me?
Hello, It looks like the issue is that you have mixed boost-python versions for python27 and python36 (check the versions in the ldd output you sent me).
br,
@padeler Thx,I will reinstall boost and build pyopenpose again.
When I run the JustFaceNet.py ,I got this error: *Traceback (most recent call last): File "JustFaceNet.py", line 106, in
run()
File "JustFaceNet.py", line 53, in run
download_heatmaps, OP.OpenPose.ScaleMode.ZeroToOne, with_face, with_hands)
Boost.Python.ArgumentError: Python argument types in
OpenPose.init(OpenPose, tuple, tuple, tuple, str, str, int, bool, ScaleMode, bool, bool)
did not match C++ signature:
init(_object , cv::Size, cv::Size , cv::Size_, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int, bool, OpenPoseWrapper::ScaleMode, bool, bool, int)
init(object*, cv::Size, cv::Size, cv::Size , std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int, bool, OpenPoseWrapper::ScaleMode, bool, bool)
init(object*, cv::Size, cv::Size, cv::Size , std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int, bool, OpenPoseWrapper::ScaleMode, bool)
init(object*, cv::Size, cv::Size, cv::Size , std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int, bool, OpenPoseWrapper::ScaleMode)
init(object*, cv::Size, cv::Size, cv::Size , std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int, bool)
init(object*, cv::Size, cv::Size, cv::Size , std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int)
init(object*, cv::Size, cv::Size, cv::Size )
init(_object)
init(_object)
**