nemo_curator.utils.writer_utils
Module Contents
Classes
Functions
API
Bases: JSONEncoder
Custom JSON encoder that handles types that are not JSON serializable.
Example:
Encode an object for JSON serialization.
Parameters:
Object to encode.
Returns: str | object
Encoded object.
Write bytes to local path.
Parameters:
Bytes to write.
Destination to write.
Description of the write.
Source video.
Verbosity.
Storage client.
Backup and overwrite.
Overwrite.
Write csv to local path.
Parameters:
Destination to write.
Description of the write.
Source video.
Data to write.
Verbosity.
Storage client.
Backup and overwrite.
Write json to local path.
Parameters:
Data to write.
Destination to write.
Description of the write.
Source video.
Verbosity.
Storage client.
Backup and overwrite.
Overwrite.
Write parquet to local path.
Parameters:
Data to write.
Destination to write.
Description of the write.
Source video.
Verbosity.
Storage client.
Whether to backup existing file before overwriting.
Whether to overwrite existing file.