Hi all,
I’m hoping this is a simple request, my skills in this space are very limited.
I’m trying to get DOODS2 going with my new Coral USB TPU.
I’ve already got the coral going with frigate on the same machine (NUC).
I think all i need is the correct image to load?
This from the logs:
“ERROR - Could not create detector tflite/default: Could not load EdgeTPU detector”
Snippets of the config file:
server:
port: “8080”
auth_key: “”
devices: /dev/bus/usb
doods.detectors:
- name: default
type: tflite
modelFile: /opt/doods/models/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite
labelFile: /opt/doods/models/coco_labels0.txt
hwAccel: true
Not sure if I need to load a specific USB model?
Any help greatly appreciated.
Will I need to manually download the models and labels into those locations first perhaps?
I’ve copied the modefile into the directoty above, but with each restart the file is removed…
Is there a way to make it persistent?
okay, if there are any other newbies out there like me.
There is a /share folder that is mapped in this addon. It’s persistent. It’s written pretty clearly in the ‘info’ tab of the addon…
Copy your models and labels in there.
I’m no longer getting the error, onto testing and seeing if it works like I’d intended.
Thanks!
Okay, I’m no longer able to load that model.
My detection isn’t working…
“ERROR - Could not create detector tflite/default: Could not load EdgeTPU detector”
doods.detectors config snippet:
"- name: default
type: tflite
modelFile: /share/doods/tf2_ssd_mobilenet_v2_coco17_ptq_edgetpu.tflite
"
Is there a USB specific one I need to load perhaps?