From b51cc77c617cb991fc7c992b18d1bd5667d196a7 Mon Sep 17 00:00:00 2001 From: PaParaZz1 Date: Sat, 1 Jan 2022 12:29:06 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2035241?= =?UTF-8?q?df379105c591e62ebb04682a65eef35f861=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _modules/ding/config/config.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_modules/ding/config/config.html b/_modules/ding/config/config.html index 4134c38..6f35c06 100644 --- a/_modules/ding/config/config.html +++ b/_modules/ding/config/config.html @@ -580,6 +580,8 @@ cfg.policy.eval.evaluator.n_episode = cfg.env.n_evaluator_episode if 'exp_name' not in cfg: cfg.exp_name = 'default_experiment' + # add seed as suffix of exp_name + cfg.exp_name = cfg.exp_name + '_seed{}'.format(seed) if save_cfg: if not os.path.exists(cfg.exp_name): try: @@ -690,6 +692,8 @@ cfg.system.coordinator = deep_merge_dicts(Coordinator.default_config(), cfg.system.coordinator) # seed cfg.seed = seed + # add seed as suffix of exp_name + cfg.exp_name = cfg.exp_name + '_seed{}'.format(seed) if save_cfg: save_config(cfg, save_path) -- GitLab