google-coral / pycoral

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

Segmentation Fault Occurs #150

Open Satellite23 opened 2 months ago

Satellite23 commented 2 months ago

Description

I am trying to run my own tflite model based on pycoral lib. However, it shows segmentation fault. How to solve that? my libs are just: import os import numpy as np from pycoral.utils import edgetpu from pycoral.adapters import common import math

Click to expand! ### Issue Type _No response_ ### Operating System _No response_ ### Coral Device _No response_ ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output ```shell This is what my terminal shows: mendel@deft-ibis:~$ python3 Python 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tflite_runtime as tflite >>> import pycoral >>> from pycoral.utils.edgetpu import get_runtime_version >>> get_runtime_version() 'BuildLabel(COMPILER=6.3.0 20170516,DATE=redacted,TIME=redacted), RuntimeVersion(13)' >>> tflite.__version__ '2.5.0' >>> pycoral.__version__ '1.0.0' >>> exit() mendel@deft-ibis:~$ python3 /home/mendel/inference_nouvel/edgetpu_script_nouvel.py Segmentation fault ```