pub fn load_checkpoint<T: DeserializeOwned, P: AsRef<Path>>( path: P, ) -> Result<T, Error>
Load a checkpoint from disk