myogestic.models.definitions.raulnet_models.load#

myogestic.models.definitions.raulnet_models.load(model_path, model)[source]#

Load a RaulNet model from checkpoint.

Parameters:
  • model_path (str) – The path to the checkpoint file.

  • model (L.LightningModule) – A model instance used to determine the class for loading.

Returns:

The loaded RaulNet model in evaluation mode.

Return type:

L.LightningModule