Open MIG1989 opened 1 month ago
I guess you ran out of memory? Is rebooting solving the problem?
this isnt a problem of disk space (had a 256gb sd card) and only 4% are in use. here is the df -h result:
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 235G 7,3G 218G 4% / devtmpfs 3,7G 0 3,7G 0% /dev tmpfs 3,9G 0 3,9G 0% /dev/shm tmpfs 3,9G 8,6M 3,9G 1% /run tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup /dev/mmcblk0p1 253M 49M 204M 20% /boot tmpfs 785M 4,0K 785M 1% /run/user/1000
is this a RAM problem?
Could be. Is rebooting solving the problem?
restarting the script (catCam_starter.sh) is solving the problem, but i have this error every 4-5 cat detections. And had to manually solve the problem, so when im not at home this is a problem.
Any ideas what I can do?
I had another problem with the crontab. the script is not executed after startup. if i start the catCam_starter.sh the following problem is shown.
Executing CatPreyAnalyzer 2024-10-01 10:36:13.877922: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory Traceback (most recent call last): File "cascade.py", line 20, in
from CatPreyAnalyzer.model_stages import PC_Stage, FF_Stage, Eye_Stage, Haar_Stage, CC_MobileNet_Stage File "/home/pi/CatPreyAnalyzer/model_stages.py", line 6, in from object_detection.utils import label_map_util ModuleNotFoundError: No module named 'object_detection'
Are you doing something different then usual with the crontab? As it was working before?
In terms of the original error appearing every 4-5 detections, monitor the RAM usage with htop, is a different process hogging it? Was there a significant OS update?
i lowerd the resolution of the picture and no it works fine.
crontab was never working did not had the time too look for it. also tryed all the other different solutions to start an script after booting, nothing worked. Always the same problem
Hey,
unfortunately i have the following error since a few days (before it worked fine). Do you know such problems and what to do?