rxn.onmt_models.utils

Functions

log_file_name_from_time([prefix])

Get the name of a log file (typically to create it) from the current date and time.

run_command(command_and_args)

Run a command, printing its output (stdout and stderr) to the logs.