I want to import Interpreter by this code:
from tflite_runtime.interpreter import Interpreter
But I got this error:
ImportError: generic_type: type “InterpreterWrapper” is already registered!
I searched a lot but I didn’t find anything.
Could you help me?
Welcome to the Tensorflow Forum!
Sorry for the delay in responding. Are you still looking for a solution?
Could you try uninstalling the
tflite_runtime package and installing the latest version and let us know?
I am getting the same error. And I am unable to uninstall or update the tflite-runtime package.
This is the version I have.