Infinite Loop after changing TFLite Model

I made an object detection app (with Flutter) using a small (1Mb) TFLite model. It was working well, but I have replaced it with many models (ResNet, MobileNet, etc. ) and app started going into an infinite loop this time. There may be a problem with quantization, but I couldn’t get an idea despite Googling.

Colab Link

@creatornadiran,

Sorry for the late response. Is this still an issue for you?

Can you please share Colab again if you are still looking for a solution? Thank you!