scgen.SCGEN.convert_legacy_save¶
- classmethod SCGEN.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
False
and directory already exists atoutput_dir_path
, error will be raised.- prefix :
str
|None
Optional
[str
] (default:None
) Prefix of saved file names.
- dir_path :
- Return type