grinco / HASS-coral-rest-api

Coral REST API for HASS
Apache License 2.0
85 stars 6 forks source link

USB error? Works until detection starts. #3

Closed kongjudas closed 2 years ago

kongjudas commented 2 years ago

Logging to /dev/null Starting the server... Loaded engine with model : /app/models/tf2_ssd_mobilenet_v2_coco17_ptq_edgetpu.tflite

grinco commented 2 years ago

Are you running in a VM? If so - are you passing the USB device to the VM? The TPM needs to be used exclusively, do you have other software using it when you're trying to run it?

kongjudas commented 2 years ago

Yes, through Proxmox. I have Frigate using the TPM. Should I run CPU detector for Frigate?

grinco commented 2 years ago

You can't do both. Use CPU detector in Frigate, or stop it for the time that you're testing this addon. As I said, TPU requires exclusive access.

grinco commented 2 years ago

I'll resolve this for now as it doesn't seem to be a bug.