如何将pybind11添加到python文件?

问题描述

我正在为项目使用openpose,我已经设置了所有必需的东西,但因pybind11错误而卡住了

我正在运行python webcam.py命令

Starting OpenPose Python Wrapper...
Auto-detecting all available GPUs... Detected 1 GPU(s),using 1 of them starting at GPU 0.
(540,960,3)
Wait for connection...
Client Info:  <socket.socket fd=2272,family=AddressFamily.AF_INET,type=SocketKind.soCK_STREAM,proto=0,laddr=('127.0.0.1',9000),raddr=('127.0.0.1',61761)> ('127.0.0.1',61761)
emplaceAndPop(): incompatible function arguments. The following argument types are supported:
    1. (self: pyopenpose.WrapperPython,arg0: std::vector<std::shared_ptr<op::Datum>,std::allocator<std::shared_ptr<op::Datum> > >) -> bool

Invoked with: <pyopenpose.WrapperPython object at 0x000001F2386CCA30>,[<pyopenpose.Datum object at 0x000001F2364714B0>]

Did you forget to `#include <pybind11/stl.h>`? Or <pybind11/complex.h>,<pybind11/functional.h>,<pybind11/chrono.h>,etc. Some automatic
conversions are optional and require extra headers to be included
when compiling your pybind11 module.

请帮助我解决错误,我正在使用Windows?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)