cerebras.modelzoo.data_preparation.data_preprocessing.utils.setup_warning_logging#

cerebras.modelzoo.data_preparation.data_preprocessing.utils.setup_warning_logging(output_dir, module_name)[source]#

Set up logging to log warnings to a file in the specified output directory.

Parameters

output_dir (str) – The directory where the warnings log file should be stored.