tensorflow-mtcnn icon indicating copy to clipboard operation
tensorflow-mtcnn copied to clipboard

mtcnn-embeded run error

Open delongqilinksprite opened this issue 6 years ago • 6 comments

Hi, I compiled the mtcnn embeded codes,then run it,got an error as below: ../../lib:/usr/local/lib:/usr/local/cuda-8.0/lib64:/usr/local/cuda-8.0/lib64:/usr/local/lib: 2017-12-27 11:02:44.944551: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 2017-12-27 11:02:45.084213: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:895] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2017-12-27 11:02:45.084773: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1062] Found device 0 with properties: name: GeForce GTX 970M major: 5 minor: 2 memoryClockRate(GHz): 1.038 pciBusID: 0000:01:00.0 totalMemory: 5.94GiB freeMemory: 5.36GiB 2017-12-27 11:02:45.084792: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1152] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 970M, pci bus id: 0000:01:00.0, compute capability: 5.2) run PNet error 2017-12-27 11:02:45.539095: F ../../include/tensorflow/core/lib/core/refcount.h:79] Check failed: ref_.load() == 0 (1 vs. 0) ./run.sh: line 6: 9237 Aborted (core dumped) ./mtcnn_embeded

can you help me! thanks !

delongqilinksprite avatar Dec 27 '17 03:12 delongqilinksprite

Hi, I compile the tf_embedded mtcnn code on Ubuntu14.04 with Tensorflow1.4.0, I got same issue when run the binary file, but standalone mtcnn code works well. As to standalone mtcnn code, it can not be limited GPU memory, so how do you thing about it? Thanks

YaoQ avatar Dec 28 '17 06:12 YaoQ

@delongqilinksprite @YaoQ

I cannot figure out the reason, as I haven't try newest TF yet. But could you please have a try: Compare the BUILD file of mtcnn sample and that of label_image, and check if anything related TF needs to upgrade?

Thanks,

Haitao

cyberfire avatar Dec 28 '17 12:12 cyberfire

Meet the same problem. @cyberfire which version of tensorflow did you use?

daoluan avatar Feb 01 '18 08:02 daoluan

Check failed: ref_.load() == 0 (1 vs. 0)
[1]    79155 abort      ./main

tensorflow 1.4.1

daoluan avatar Feb 01 '18 08:02 daoluan

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

ashokbugude avatar Mar 17 '18 10:03 ashokbugude

As stated in the referenced link by TimZaman, adding -DNDEBUG to the compiler did solve the issue. For more info, please follow the link.

hoavt-54 avatar Nov 05 '18 10:11 hoavt-54