Error reading facenet model with dnn module
Hi,
I'm working on a face recognition project with opencv. I use pretrained model for facenet from this github https://github.com/davidsandberg/facenet (model 20180402-114759) and load with readNetFromTensorflow. All I did is download the model and run those codes:
detector = cv2.dnn.readNetFromTensorflow(20180402-114759.pb)
However, I got error:
error: (-2:Unspecified error) Input layer not found: image_batch in function 'connect'
Have anyone had this problem before? What did you do to solve it?
Thanks