Trouble running custom TFLite model on RPI4

I was able to run a sample Google TFLite model on the RPI4, but the custom one I made from Roboflow is not working.

This guide uses Roboflow to train a darknet model which is then converted to TFLite. When I run this model on the RPI4, I get this:

2021-01-30 21:42:03.351149: E tensorflow/core/platform/hadoop/] HadoopFileSystem load error: cannot open shared object file: No such file or directory

Traceback (most recent call last):

File “”, line 138, in <module>

interpreter = Interpreter(model_path=PATH_TO_CKPT)

File “/home/pi/.local/lib/python3.7/site-packages/tensorflow_core/lite/python/”, line 207, in __init__

model_path, self._custom_op_registerers))

ValueError: Didn’t find op for builtin opcode ‘RESIZE_BILINEAR’ version ‘3’

Registration failed.


Does anyone know how to fix this? If not, does anyone know a better way to run a custom model on the RPI4?

submitted by /u/Fish6Chips
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *