Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybind11 error #17

Open
S4dr opened this issue Oct 30, 2020 · 0 comments
Open

pybind11 error #17

S4dr opened this issue Oct 30, 2020 · 0 comments

Comments

@S4dr
Copy link

S4dr commented Oct 30, 2020

I got errors when I try to test OP.py

The error I get is:

Traceback (most recent call last):
File "OP.py", line 454, in
nb_persons,body_kps,face_kps = my_op.eval(frame)
File "OP.py", line 215, in eval
self.opWrapper.emplaceAndPop([self.datum])
TypeError: emplaceAndPop(): incompatible function arguments. The following argument types are supported:
1. (self: openpose.pyopenpose.WrapperPython, arg0: std::vector<std::shared_ptrop::Datum, std::allocator<std::shared_ptrop::Datum > >) -> bool
Invoked with: <openpose.pyopenpose.WrapperPython object at 0x7f86d8a14ed8>, [<openpose.pyopenpose.Datum object at 0x7f86d8a14f10>]
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 can I resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant