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

Boost.Python.ArgumentError #35

Open
YuanWanglll opened this issue Jan 16, 2018 · 2 comments
Open

Boost.Python.ArgumentError #35

YuanWanglll opened this issue Jan 16, 2018 · 2 comments

Comments

@YuanWanglll
Copy link

YuanWanglll commented Jan 16, 2018

Go into demoCode folder and use the code:
python testBatchModel.py input.txt out/ 1 1

But I get an error:

raceback (most recent call last):
File "testBatchModel.py", line 76, in
predictor = dlib.shape_predictor(predictor_path)
Boost.Python.ArgumentError: Python argument types in
shape_predictor.init(shape_predictor, str)
did not match C++ signature:
init(boost::python::api::object, std::string)
init(_object*)

@anhttran
Copy link
Owner

anhttran commented Mar 30, 2018

Dear,
I am sorry that I missed your question.
This code typically a Python call to your dlib library. Did you copy the dlib model into dlib_model folder?
https://github.com/anhttran/3dmm_cnn#data-requirements
If you have the model but still get the problem, you can check your Dlib version and make sure that this Python call match the one in its sample code.
Best,

@WWWJL
Copy link

WWWJL commented Jul 17, 2019

hi,can you release the train code? thanks

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

3 participants