<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/core/actions.py#L126-L141) |

Train action to recover from loss blowup.

    tfm.core.actions.RecoveryAction(
        checkpoint_manager: tf.train.CheckpointManager
    )

Checks the loss value by the given threshold. If applicable, recover the
model by reading the checkpoint on disk.

## Methods

### `__call__`

[View source](https://github.com/tensorflow/models/blob/v2.20.0/official/core/actions.py#L136-L141)

    __call__(
        _
    )

Recovers the training by triggering checkpoint restoration.