After running the example script or ultralytics example i get a segmentation fault.
I followed the installation instructions for the USB coral and did so multiple times making sure i had nothing wrong.
It worked previously (few months ago) but does not anymore.
Video of it working correctly:
Some information about the setup:
Os: Rasberry Pi Os Bullseye 64bit / Bookworm 64bit
Device: Rasberry Pi 4B 2GB / Raspberry Pi 5 8GB
tflite_runtime version: 2.10 until latest have been tested
Python: 3.9.2 (Pi 4B) / 3.11.2 (Pi 5) (3.7.16 and 3.9.18 have also been tested through conda)
Ways to reproduce the issue:
Run the detection example script from here.
Description
After running the example script or ultralytics example i get a segmentation fault. I followed the installation instructions for the USB coral and did so multiple times making sure i had nothing wrong. It worked previously (few months ago) but does not anymore. Video of it working correctly:
https://github.com/google-coral/edgetpu/assets/78843978/81eed8f1-6162-4ccf-ba92-f46574829769
Some information about the setup: Os: Rasberry Pi Os Bullseye 64bit / Bookworm 64bit Device: Rasberry Pi 4B 2GB / Raspberry Pi 5 8GB tflite_runtime version: 2.10 until latest have been tested Python: 3.9.2 (Pi 4B) / 3.11.2 (Pi 5) (3.7.16 and 3.9.18 have also been tested through conda)
Ways to reproduce the issue: Run the detection example script from here.
Or follow these steps for a custom model:
Click to expand!
### Issue Type Bug ### Operating System Linux ### Coral Device USB Accelerator ### Other Devices Rapsberry Pi 4 ### Programming Language Python 3.9, Other ### Relevant Log Output ```shell When run through gdb: Starting program: /usr/bin/python3 detect_image.py \ --model models/ssd_mobilenet_v2_coco_quant_postprocess_edgetpu.tflite \ --labels models/coco_labels.txt \ --input images/grace_hopper.bmp \ --output images/grace_hopper_processed.bmp [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0x7ff547e1c0 (LWP 4159)] [New Thread 0x7ff4c7d1c0 (LWP 4160)] [New Thread 0x7ff047c1c0 (LWP 4161)] [New Thread 0x7fec6ee1c0 (LWP 4162)] [Thread 0x7fec6ee1c0 (LWP 4162) exited] [New Thread 0x7fec6ee1c0 (LWP 4163)] [Thread 0x7fec6ee1c0 (LWP 4163) exited] [New Thread 0x7fec6ee1c0 (LWP 4164)] [New Thread 0x7febeed1c0 (LWP 4165)] [New Thread 0x7feb6ec1c0 (LWP 4166)] [Thread 0x7feb6ec1c0 (LWP 4166) exited] [Thread 0x7febeed1c0 (LWP 4165) exited] [New Thread 0x7febeed1c0 (LWP 4167)] [New Thread 0x7feb6ec1c0 (LWP 4168)] [Thread 0x7feb6ec1c0 (LWP 4168) exited] [Thread 0x7febeed1c0 (LWP 4167) exited] [New Thread 0x7febeed1c0 (LWP 4185)] [New Thread 0x7feb6ec1c0 (LWP 4186)] [New Thread 0x7feaeeb1c0 (LWP 4187)] Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x0000007fecb89350 in tflite::Subgraph::OpInit(TfLiteRegistration const&, char const*, unsigned long) () from /home/pi/.local/lib/python3.9/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so Using backtrace from gdb: Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x0000007fecb89350 in tflite::Subgraph::OpInit(TfLiteRegistration const&, char const*, unsigned long) () from /home/pi/.local/lib/python3.9/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so (gdb) backtrace #0 0x0000007fecb89350 in tflite::Subgraph::OpInit(TfLiteRegistration const&, char const*, unsigned long) () from /home/pi/.local/lib/python3.9/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.so #1 0x0000007fecb8c4dc in tflite::Subgraph::AddNodeWithParameters(std::vector