Serializes the image memory data and metadata, and saves them to drives as files.
1 | serialize(filePath: str, forceOverwrite: bool = False); |
Parameter |
Type |
Description |
|---|---|---|
filePath |
str |
Path for storing serialized data files (including file names). Soft links are not supported. |
forceOverwrite |
bool |
Indicates whether to forcibly overwrite the existing file when saving the file. The default value is False, indicating that the existing file is not overwritten. |