Open LuciferA-hub opened 4 years ago
我已经设置了所有东西,但是它给出了pybind11的错误
`正在启动OpenPose Python包装程序... 自动检测所有可用的GPU ...检测到1个GPU,使用其中1个从GPU 0开始。 (540,960,3) 等待连接... 客户端信息:< 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():不兼容的函数参数。支持以下参数类型: 1。((自我:pyopenpose.WrapperPython,arg0:std :: vector <std :: shared_ptrop :: Datum,std :: allocator
>)-> bool 调用于:<位于0x000001F2386CCA30的<pyopenpose.WrapperPython对象,[<位于0x000001F2364714B0>的pyopenpose.Datum对象]
你忘了
#include <pybind11/stl.h>
吗?或<pybind11 / complex.h>, <pybind11 / functional.h>,<pybind11 / chrono.h>等。一些自动 转换是可选的,并且 在编译pybind11模块时需要包含额外的标头。如何在Windows中解决此问题?
I have the same problem. Have you solved this problem?
After long hours of research and trial - errors; i have finally solved it. Email me on vishalhemnani97@gmail.com for the details.
@BlueKurrent ca you put your solution here so everyone can understand? I am also having the same issue. Kindly share your solution. Thanks.
The project works well with pyopenpose 1.6.0 version. Before configuring cmake, clone the git repository of pybind11 in openpose-master/3rdparty directory instead of openpose-master/build/3rdparty directory. Be careful to properly edit the configure cmake flags especially pybind11 flags. Refer attached screenshot for reference. ![cmakefiles](https://user-images.githubusercontent.com/59685501/113569014-580fec80-962f-11eb-95ba-c4d9d44cbca7.jpeg
Thank you @YadneshD its working well now!
It's working now!! Thanks @YadneshD
I have set up everything but it gives an error of pybind11
`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:
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.`How to resolve this in windows?