Skip to content
Snippets Groups Projects
Commit b82fca42 authored by Neta Zmora's avatar Neta Zmora
Browse files

execution logging: recreate the cmd-line

Expand the command line arguments to recreate the original
command line invocation.
parent 3ca2985d
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ def log_execution_env_state(app_args, gitroot='.'):
logger.debug("PyTorch: %s", torch.__version__)
logger.debug("Numpy: %s", np.__version__)
log_git_state()
logger.debug("App args: %s", app_args)
logger.debug("Command line: %s", " ".join(app_args))
def config_pylogger(log_cfg_file, experiment_name, output_dir='logs'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment