From 8b9559940fcec00b6bd62acf8ce9e5c53f9b48ba Mon Sep 17 00:00:00 2001 From: Marie Weiel Date: Tue, 12 Mar 2024 19:25:08 +0100 Subject: [PATCH] fix ckpt path --- tutorials/torch_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/torch_example.py b/tutorials/torch_example.py index 8dc6d5fe..d6ceb16d 100755 --- a/tutorials/torch_example.py +++ b/tutorials/torch_example.py @@ -347,7 +347,7 @@ def ind_loss(params: Dict[str, Union[int, float, str]]) -> float: # Set up separate logger for Propulate optimization. set_logger_config( level=logging.INFO, # Logging level - log_file=f"./{pathlib.Path(__file__).stem}.log", # Logging path + log_file=f"{log_path}/{pathlib.Path(__file__).stem}.log", # Logging path log_to_stdout=True, # Print log on stdout. log_rank=False, # Do not prepend MPI rank to logging messages. colors=True, # Use colors.