face detection - Dlib,python,face_detection with neural network -


when ever tried load trained model of cnn based face_detectorin dlib.i got error.


detector = dlib.simple_object_detector('mmod_human_face_detector.dat') traceback (most recent call last): file "/home/hasans/desktop/1/face_recognition1/face_detector.py", line 51, in <module>  detector = dlib.simple_object_detector('mmod_human_face_detector.dat') runtimeerror: unsupported version found when deserializing scan_fhog_pyramid object</br> 


how rid of error?

.

i don't know got code from, cnn-based face-detector used differently, given in this official demo.

init looks like:

cnn_face_detection_model = dlib.cnn_face_detection_model_v1('mmod_human_face_detector.dat') 

(i used successfully)

warning: python-wrapper needed added (18.8.17) , of (3 days later) available within git, not official release!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -