Skip to content

Instantly share code, notes, and snippets.

@zealinux
Created September 20, 2017 22:26
Show Gist options
  • Save zealinux/58c00ad2b9ded4c07f840f5be38e3656 to your computer and use it in GitHub Desktop.
Save zealinux/58c00ad2b9ded4c07f840f5be38e3656 to your computer and use it in GitHub Desktop.
编译出错
[100%] Linking CXX executable FaceVerificationDemo
libFaceVerification.so: undefined reference to `cblas_sgemv(CBLAS_ORDER, CBLAS_TRANSPOSE, int, int, float, float const*, int, float const*, int, float, float*, int)'
libFaceVerification.so: undefined reference to `cblas_sgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, float, float const*, int, float const*, int, float, float*, int)'
collect2: error: ld returned 1 exit status
CMakeFiles/FaceVerificationDemo.dir/build.make:133: recipe for target 'FaceVerificationDemo' failed
make[2]: *** [FaceVerificationDemo] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/FaceVerificationDemo.dir/all' failed
make[1]: *** [CMakeFiles/FaceVerificationDemo.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@128bc5982803:/workspace/FaceRecognition/project/FaceVerification# ./FaceVerificationDemo ../../model /tmp test-abc123/ym-1.jpg test-abc123/ym-2.jpg
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0920 22:25:15.950145 1333 Classifier.cpp:17] Caffe::set_mode(Caffe::CPU)
E0920 22:25:15.952083 1333 FaceVerificationCore.cpp:37] /tmp/FaceVerificationLog
E0920 22:25:15.953039 1333 FaceVerificationCore.cpp:43] init,modelName:../../model/KIWIFaceVerification_V.1.0_deploy.prototxt,trainedName:../../model/KIWIFaceVerification_V.1.0.caffemodel,configName:../../model/config.txt
E0920 22:25:17.931502 1333 FaceVerificationCore.cpp:47] All module correctly loaded!
E0920 22:25:17.931762 1333 Demo.cpp:116] jni load is ok.
E0920 22:25:18.096551 1333 Utils.cpp:36] ----face normalization(ms):8.9122
E0920 22:25:18.097048 1333 Utils.cpp:36] --face1 detection/alignment/normalization(ms):141.427
E0920 22:25:18.121909 1333 Utils.cpp:36] ----face normalization(ms):0.595271
E0920 22:25:18.122375 1333 Utils.cpp:36] --face2 detection/alignment/normalization(ms):25.1973
E0920 22:25:18.123247 1333 Utils.cpp:36] ----init cnn feature(ms):0.523355
E0920 22:25:18.507441 1333 Utils.cpp:36] ----test cnn feature(ms):383.764
E0920 22:25:18.507944 1333 Utils.cpp:36] ----get result from cnn feature(ms):0.311646
E0920 22:25:18.508062 1333 Utils.cpp:36] --generate cnn feature(ms):385.526
E0920 22:25:18.508582 1333 Utils.cpp:234] Similarty is: 0.730469
E0920 22:25:18.509125 1333 Utils.cpp:36] -Recognititon total using time(ms):569.766
E0920 22:25:18.509205 1333 Demo.cpp:60] jni start is ok.
E0920 22:25:18.509428 1333 Demo.cpp:61] f1:test-abc123/ym-1.jpg f2:test-abc123/ym-2.jpg result:{
"status": "1",
"confidence": "0.730469346",
"threshold": "0.699999988"
}
init FaceVerificationCore at current thread Version: FaceVerification_v1.0.0_20170628
FaceVerification_v1.0.0_20170628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment