anhttran/3dmm_cnn

Boost.Python.ArgumentError

YuanWanglll opened this issue · 2 comments

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*)

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 commented

hi,can you release the train code? thanks