From efbad0cc271e4a818e590bf5d14ce96ce8a40509 Mon Sep 17 00:00:00 2001 From: sp Date: Mon, 15 Jan 2024 13:50:21 +0100 Subject: [PATCH] log to subdirectory --- examples/shields/rl/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/shields/rl/utils.py b/examples/shields/rl/utils.py index 27d1f13..abb31d2 100644 --- a/examples/shields/rl/utils.py +++ b/examples/shields/rl/utils.py @@ -133,9 +133,8 @@ class MiniGridShieldHandler(ShieldHandler): return self.__create_shield_dict() - def create_log_dir(args): - return f"{args.log_dir}sh_{args.shielding}-value_{args.shield_value}-comp_{args.shield_comparison}-env_{args.env}-conf_{args.prism_config}" + return f"{args.log_dir}/sh_{args.shielding}-value_{args.shield_value}-comp_{args.shield_comparison}-env_{args.env}-conf_{args.prism_config}" def test_name(args): return f"{args.expname}"