geomat0101 / mediamgr

software for managing media libraries
0 stars 0 forks source link

facial recognition processing #6

Open geomat0101 opened 1 year ago

geomat0101 commented 1 year ago

danger will robinson

(mediamgr) mdg@ftl:~/src/mediamgr/python_examples$ ./cnn_face_detector.py ../models/mmod_human_face_detector.dat ../python/data/IMG_20201031_192818.jpg 
Processing file: ../python/data/IMG_20201031_192818.jpg
Traceback (most recent call last):
  File "/home/mdg/src/mediamgr/python_examples/./cnn_face_detector.py", line 58, in <module>
    dets = cnn_face_detector(img, 1)
RuntimeError: Error while calling cudaMalloc(&data, new_size*sizeof(float)) in file /home/mdg/src/dlib/dlib/cuda/gpu_data.cpp:221. code: 2, reason: out of memory