oberluz / pycoral

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

Segmentation fault #15

Open EnziinSystem opened 3 months ago

EnziinSystem commented 3 months ago

My environment on Pi-5 64-bit.

$ uname -a
Linux smarthome 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux

$ python -V
Python 3.11.9

I have successfully installed both packages tflite_runtime-2.13.0-cp311-cp311-linux_aarch64.whl and pycoral-2.13.0-cp311-cp311-linux_aarch64.whl

However, when I run a model on the Edge TPU

python3 examples/classify_image.py \
--model test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--labels test_data/inat_bird_labels.txt \
--input test_data/parrot.jpg

The error message

Segmentation fault

Did I do something wrong or skip any steps?