Tflite based object counting error

Hi all,
It is my first topic in this forum.
I m trying to follow this → GitHub - TannerGilbert/Tensorflow-2-Object-Counting: Cumulative object counting with Tensorflow 2
where it uses
“” and “” for counting pedestrians. “” works just fine, But when try to use “” it throws (ImportError: generic_type: type “InterpreterWrapper” is already registered!) error. Since, Im new to tensorflow I couldn’t figure it out. What might be the reason for this error? Any help would be appreciated.


Welcome to the Tensorflow Forum!

Sorry for the delay in responding. Are you still looking for a solution?

There might be some issue while installing tflite_runtime. Could you try uninstalling the tflite_runtime package and installing version that matches tensorflow version and see if the issue is resolved.

Thank you!