I was able to run a sample Google TFLite model on the RPI4, but the custom one I made from Roboflow is not working.
https://www.youtube.com/watch?v=pXLLNa4IrmM&list=LL&index=1&t=1083s
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/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File “TFLite_detection_webcam.py”, line 138, in <module>
interpreter = Interpreter(model_path=PATH_TO_CKPT)
File “/home/pi/.local/lib/python3.7/site-packages/tensorflow_core/lite/python/interpreter.py”, 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]