3dmm_cnn icon indicating copy to clipboard operation
3dmm_cnn copied to clipboard

Boost.Python.ArgumentError

Open YuanWanglll opened this issue 7 years ago • 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*)

YuanWanglll avatar Jan 16 '18 09:01 YuanWanglll

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,

anhttran avatar Mar 30 '18 17:03 anhttran

hi,can you release the train code? thanks

WWWJL avatar Jul 17 '19 11:07 WWWJL