hookeai.model_architectures.procedures.model_state_files

Procedures to save and load model state files.

Functions

save_model_state

Save model state to file.

load_model_state

Load model state from file.

check_state_file

Check if file is model training epoch state file.

check_best_state_file

Check if file is model best state file.

remove_posterior_state_files

Delete model training epoch state files posterior to given epoch.

remove_best_state_files

Delete existent model best state files.

Functions

check_best_state_file(model, filename)

Check if file is model best state file.

check_state_file(model, filename)

Check if file is model training epoch state file.

load_model_state(model[, model_load_state, ...])

Load model state from file.

remove_best_state_files(model)

Delete existent model best state files.

remove_posterior_state_files(model, epoch)

Delete model training epoch state files posterior to given epoch.

save_model_state(model[, state_type, epoch, ...])

Save model state to file.