cyberfire / tensorflow-mtcnn

C++ and python Inference only for MTCNN face detector on Tensorflow. Based on davidsandberg's facenet project:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check failed: ref_.load() == 0 (1 vs. 0)

ashokbugude opened this issue · comments

I am using face detection using tensorflow 1.4 , but get below error while executing the code

/home/ashok/eclipseWorkspace/faceRecognition-x86_64_MTCNN/Libraries/tensorflow/include/tensorflow/core/lib/core/refcount.h:79] Check failed: ref_.load() == 0 (1 vs. 0)
generated from
Status run_status = sess->Run(input_tname,output_tname,output_node,&output_tensor);

form
run_PNet(std::unique_ptr<tensorflow::Session>& sess, cv::Mat& img, scale_window& win, std::vector<face_box>& box_list)
function
Please help resolve the issue