Hello,
Thank you for the update. I have tried with the line you provided in example.py line 40. Unfortunately i got the same segmentation fault error , and i tried with the below code , but got same result. I will share you the details below:
code:
import tensorflow as tf
try:
delegate = tf.lite.experimental.load_delegate('/usr/lib/libvx_delegate.so')
except ValueError:
# Fallback to CPU
delegate = None
if delegate:
interpreter = tf.lite.Interpreter(
model_path='movenet.tflite',
experimental_delegates=[delegate])
else:
interpreter = tf.lite.Interpreter(model_path='movenet.tflite')
output:
(myenv) root@phyboard-pollux-imx8mp-3:movenet# python3 delegate.py
Vx delegate: allowed_builtin_code set to 0.
Vx delegate: error_during_init set to 0.
Vx delegate: error_during_prepare set to 0.
Vx delegate: error_during_invoke set to 0.
ERROR: Fallback unsupported op 53 to TfLite
ERROR: Fallback unsupported op 90 to TfLite
ERROR: Fallback unsupported op 53 to TfLite
ERROR: Fallback unsupported op 53 to TfLite
ERROR: Fallback unsupported op 88 to TfLite
ERROR: Fallback unsupported op 90 to TfLite
ERROR: Fallback unsupported op 53 to TfLite
ERROR: Fallback unsupported op 53 to TfLite
ERROR: Fallback unsupported op 88 to TfLite
Segmentation fault
Seeking for solution.
Thank you,
Adarsh