cpa.CPA.convert_legacy_save#
- classmethod CPA.convert_legacy_save(dir_path, output_dir_path, overwrite=False, prefix=None)#
Converts a legacy saved model (<v0.15.0) to the updated save format.
- Parameters:
- dir_path
str Path to directory where legacy model is saved.
- output_dir_path
str Path to save converted save files.
- overwrite
bool(default:False) Overwrite existing data or not. If
Falseand directory already exists atoutput_dir_path, error will be raised.- prefix
Optional[str] (default:None) Prefix of saved file names.
- dir_path
- Return type: