Attention: This MediaPipe Solutions Preview is an early release. Learn more.


Stay organized with collections Save and categorize content based on your preferences.

Loads a tensorflow Keras model from file and returns the Keras model.

model_path Relative path to a directory containing model data, such as /saved_model/.
compile_on_load Whether the model should be compiled while loading. If False, the model returned has to be compiled with the appropriate loss function and custom metrics before running for inference on a test dataset.

A tensorflow Keras model.