skrashevich / hassio-addons

15 stars 20 forks source link

Feature Request: Access to Coral Device #17

Open Aaper opened 1 year ago

Aaper commented 1 year ago

As CodeProject.AI supports Coral devices, it would be helpful if the addon enables access to these devices. Maybe the Frigate addon can be used as a reference which also supports the use of Coral devices.

skrashevich commented 1 year ago

try version 2.3.4.1

Aaper commented 1 year ago

try version 2.3.4.1

It gets detected but failes afterwards:

10:29:34:Started ObjectDetection (Coral) module

10:29:41:objectdetection_coral_adapter.py: INFO: Created TensorFlow Lite XNNPACK delegate for CPU.

10:29:41:objectdetection_coral_adapter.py: Edge TPU detected

10:29:41:objectdetection_coral_adapter.py: Timeout connecting to the server

10:29:52:objectdetection_coral_adapter.py: F driver/usb/usb_driver.cc:1148] HandleQueuedBulkIn transfer in failed. Not found: USB transfer error 5 [LibUsbDataInCallback]

10:29:52:Module ObjectDetectionCoral has shutdown

10:29:52:objectdetection_coral_adapter.py: has exited

skrashevich commented 1 year ago

looks like as bug in AI.Server itself Are u have latest version of ObjectDetection (Coral) module? At this moment, latest is 1.6.3. You can check it in ai.server web-ui, "Modules" tab

Aaper commented 1 year ago

Yes, I've installed it via the UI

Screenshot_20231112-120851.png

But it also says that there is a newer version of AI.Server

Screenshot_20231112-121104.png

skrashevich commented 1 year ago

But it also says that there is a newer version of AI.Server

2.3.4 in docker available now only for arm64 architecture. https://github.com/skrashevich/hassio-addons/issues/18#issuecomment-1798225969 ; all questions to codeproject team :)