nischi / MMM-Face-Reco-DNN

Face recognition with opencv and deep neural network
MIT License
91 stars 46 forks source link

Issue with encodings.pickle #77

Closed nkrol222 closed 3 years ago

nkrol222 commented 3 years ago

When I run the command python3 encode.py (or the full command) it’s able to process 1 image but when the rpi(3b+) starts processing the second image I get “killed” in the terminal. I have CV installed on a virtual env I dunno if that makes a difference

Terminal output: (cv) pi@raspberrypi:~/MagicMirror/modules/MMM-Face-Reco-DNN/tools $ python3 encode.py [INFO] quantifying faces... [INFO] processing image 1/50 - ../dataset/Mom/IMG_0.JPG [INFO] processing image 2/50 - ../dataset/Mom/IMG_1.JPG killed


Any ideas on what could be going on?

nkrol222 commented 3 years ago

Oop- I think I fixed it??? I just increased the FILESWAP_SIZE to 1024 while it encodes. I guess the pi was hanging? Makes sense. I’ll leave this open for the time being tho just in case something else goes wrong with this