I downloaded tflite model and compiled without problems for coral.
This is the result of compilation for coral device.
Edge TPU Compiler version 16.0.384591198
Operator Count Status
CONV_2D 60 Mapped to Edge TPU
QUANTIZE 7 Mapped to Edge TPU
MUL 75 Mapped to Edge TPU
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU
LOGISTIC 60 Mapped to Edge TPU
RESHAPE 6 Mapped to Edge TPU
PAD 7 Mapped to Edge TPU
CONCATENATION 17 Mapped to Edge TPU
MAX_POOL_2D 3 Mapped to Edge TPU
ADD 10 Mapped to Edge TPU
STRIDED_SLICE 9 Mapped to Edge TPU
but when I run the model I have this error, Could you help me with it ? somebody with same error ?
objs = detect.get_objects(interpreter, args.threshold, scale)
File “/usr/lib/python3/dist-packages/pycoral/adapters/detect.py”, line 215, in get_objects
elif common.output_tensor(interpreter, 3).size == 1:
File “/usr/lib/python3/dist-packages/pycoral/adapters/common.py”, line 29, in output_tensor
return interpreter.tensor(interpreter.get_output_details()[i][‘index’])()
IndexError: list index out of range
I tried a diferents models ( yolov5, MobileNet, MOFO … ) always with same error
Thanks a lot