[Python] Want to save the TFLite model after running interpreter.resize_input_tensor

Discussão em 'Python' iniciado por Stack, Março 26, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to run inference using the TFLite model of multipose-lightning-tflite-float16 distributed by movenet.

    https://www.kaggle.com/models/google/movenet/tfLite

    However, this model cannot be used unless you specify the height and width of the input tensor by calling resize_input_tensor before running allocate_tensor. I would like to use a model with a fixed input shape, so is there a way to save the model after running resize_input_tensor, or to fix the input tensor without resize_input_shape?

    Continue reading...

Compartilhe esta Página