nip.model_cache#
Utilities for saving and loading models together with their parameters.
The parameters should completely specify the model, up to changes in the codebase.
Functions
|
Check whether cached models exist with the given parameters. |
|
Get the path to the directory containing the models with the given parameters. |
|
Load the state dict of cached models into models. |
|
Save a model and its parameters. |
Exceptions
|
Raised when a model is not found. |