Closed juan11perez closed 3 years ago
Not sure that is correct. While install.sh downloads https://dl.google.com/coral/canned_models/coco_labels.txt
it renames to coco_indexed.names
- I just removed that file and tried with
sudo -H INSTALL_CORAL_EDGETPU=yes ./install.sh
Oh I see. My mistake. I extracted the file path from the install script to insert into dlandon dockerfile and obviously missed the convertion bit. My apologies .
I did get it to run but I observed no improvement at all on cpu utilisation. I even tried turning off yolov in the objectconfig file and no change.
The logs say the coral loads runs and provides output. But cpu still spikes.
Any tips welcome. Thank you
Event Server version 6.1.25
Are you using MLAPI? (Y/N) N
The version of ZoneMinder you are using: 1.36.4
Trying to use ML with coral the error log exposed an apparent discrepancy.
install.sh downloads this:
https://dl.google.com/coral/canned_models/coco_labels.txt'
However objectconfig.ini is looking for this:
tpu_object_labels={{base_data_path}}/models/coral_edgetpu/coco_indexed.names
Therefore when running this test:
sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --debug --eventid 123
It throws an error saying "coco_indexed.names" file is not available.
Renaming this file (coco_indexed.names) to coco_labels.txt fixes the problem.