Skip to content

Commit

Permalink
print path when reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Schumacher committed Jul 11, 2024
1 parent e94010c commit a8099c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deprl/vendor/tonic/utils/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_resumed_results_path(config, env):
postfix = f".{env.unwrapped.model.name()}"
folders = [x for x in os.walk(path)]
if len(folders) != 0:
log("Found earlier run, continuing training: Path is: {path}")
log(f"Found earlier run, continuing training: Path is: {path}")
folder = get_sorted_folders(folders[0][1])[-1]
return os.path.join(path, folder)
else:
Expand Down

0 comments on commit a8099c3

Please sign in to comment.