google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
351 stars 145 forks source link

Pycoral with GRPC error #30

Closed bomerzz closed 2 years ago

bomerzz commented 3 years ago

While utilizing the GRPC python library on a raspberry pi, once the import grpc line of code is run, the load delegate function will fail to connect to the USB Coral accelerator. Can someone please advise what steps I can take?

Thank you.

python3-pycoral version: 1.0.1

Using load delegate: image Using a detection engine: image

manoj7410 commented 3 years ago

@bomerzz I see that you are working with virtual environment. Is the USB Accelerator visible in your environment. Can you share the output of 'lsusb' ?

bomerzz commented 3 years ago

image

Hi @manoj7410 above is the lsusb output

manoj7410 commented 3 years ago

@bomerzz lsusb output looks okay. Are you able to run the demo given at : https://coral.ai/docs/accelerator/get-started/#3-run-a-model-on-the-edge-tpu ?

bomerzz commented 3 years ago

Yes i am able to however if i add import grpc to the demos it will not run as well

manoj7410 commented 3 years ago

Okay. Can you paste the detailed error here ?

hjonnala commented 2 years ago

Closing due to inactivity. Please share the code snippet to reproduce if issue still persists.

google-coral-bot[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No