anhttran / 3dmm_cnn

Regressing Robust and Discriminative 3D Morphable Models with a very Deep Neural Network
Other
857 stars 254 forks source link

Boost.Python.ArgumentError #35

Open YuanWanglll opened 6 years ago

YuanWanglll commented 6 years ago

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 commented 6 years ago

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 5 years ago

hi,can you release the train code? thanks