TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi
TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi copied to clipboard
Getting list index out of range error when fetching boxes from model
I trained the yolo8 nano model from Ultrlytics and downloaded the .tflite model for inferencing. Now when I am running the code I am getting this error. I don't know how to solve this issue. So, that I can get boxes, classes, and scores. This is how I'm importing Interpreter. Import tensorflow as tf interpreter = tf.lite.Interpreter(model_path=modelpath)
This is the error I'm getting:
Traceback (most recent call last):
File "E:\PycharmProjects\tflitemodel\modeltest2.py", line 130, in
Please help me to solve this issue. Thanks