Closed gavan1 closed 2 years ago
Hi Can you share output of below snippet:
hemanth@hemanth-glaptop:~$ python3
Python 3.9.7 (default, Sep 3 2021, 06:18:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pycoral.pybind._pywrap_coral import ListEdgeTpus as list_edge_tpus
>>> list_edge_tpus()
[{'type': 'usb', 'path': '/sys/bus/usb/devices/2-1'}]
>>>
Advise on correct command and what output will look like if both TPU's were detected.
Some logs collected here: https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter/issues/3 You might have issue with only one PCIe routed to m.2 slot. I've made write up on this: https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter
Thanks @magic-blue-smoke
@gavan1 if both tpus detected you would be to see two device with id 089a
# lspci -nn | grep Coral
04:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
Have a few minutes? We'd love your feedback about the Coral developer experience! Take our 5-minute survey.
@magic-blue-smoke I have your B+M M.2 adapter running the dual tpu on a windows machine... (I painfully managed to successfully installed needed dependency following the official Coral documentation)
I am don't have the luxury to use Linux on the hardware with the dual tpu, are there any commands or examples scripts I can run to verify access to both TPU's?
@magic-blue-smoke I have your B+M M.2 adapter running the dual tpu on a windows machine... (I painfully managed to successfully installed needed dependency following the official Coral documentation) I am don't have the luxury to use Linux on the hardware with the dual tpu, are there any commands or examples scripts I can run to verify access to both TPU's?
@gavan1 to see if it's there, you can use Device Manager to check if both Coral TPUs are present. If it shows up, you should be able to run actual scripts. However, I'm not the best person to help with this, as I've never used or tested it under Windows
Description
Dual Edge TPU installed + pycoral No problem inferencing with a single model.
python3 examples/two_models_inference.py --classification_model test_data/mobilenet_v2_1.0_224_quant_edgetpu.tflite --detection_model test_data/ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite --image test_data/parrot.jpg
lspci -vvv
Advise on correct command and what output will look like if both TPU's were detected.