dlib dnn_mmod_face_detection_ex 调用GPU 内存不够

PS D:\work\book\new Book\MachineLearn(DeepLearn)\OpenSourceFramework\dlib\dlib-master\examples\build\Release> .\dnn_mmod_face_detection_ex.exe .\mmod_human_face_detector.dat .\hj\hj_small.jpg
Error while calling cudaMalloc(&data, n) in file D:\work\book\new Book\MachineLearn(DeepLearn)\OpenSourceFramework\dlib\dlib-master\dlib\dnn\cuda_data_ptr.cpp:28. code: 2, reason: out of memory

即使非常小的图片也是如此

https://github.com/davisking/dlib/issues/252

dnn example GPU memory 最小4G,如果处理dnn mmod face dectect 推荐1080 Ti 8G memory

http://blog.dlib.net/2017/09/fast-multiclass-object-detection-in.html

(dlib dnn 推荐1080Ti )

posted @ 2023-11-04 18:15  scott_h  阅读(12)  评论(0编辑  收藏  举报