From e80bfb1d2619ceebfc680f3ced0473f7a4d39cf1 Mon Sep 17 00:00:00 2001 From: Yonathan Efroni Date: Mon, 29 Jan 2024 12:27:42 -0800 Subject: [PATCH] fix config names for plotting reward-constraint CSAC Summary: changed config name of rc-csac to be consistent with other name Reviewed By: danielrjiang Differential Revision: D53185617 fbshipit-source-id: 9b589e390c909b4f3845aaf78e104d500eae73da --- pearl/utils/scripts/benchmark.py | 2 +- pearl/utils/scripts/benchmark_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pearl/utils/scripts/benchmark.py b/pearl/utils/scripts/benchmark.py index 624172a5..99856259 100644 --- a/pearl/utils/scripts/benchmark.py +++ b/pearl/utils/scripts/benchmark.py @@ -325,7 +325,7 @@ def generate_one_plot(experiment, attributes): # run(rccsac_ant) # generate_plots(rccsac_ant, ["return", "return_cost"]) # run(rccsac_half_cheetah) - # generate_plot(rccsac_half_cheetah, ["return", "return_cost"]) + # generate_plots(rccsac_half_cheetah, ["return", "return_cost"]) # run(rccsac_hopper) # generate_plots(rccsac_hopper, ["return", "return_cost"]) # run(rccsac_walker) diff --git a/pearl/utils/scripts/benchmark_config.py b/pearl/utils/scripts/benchmark_config.py index 5cd447dc..9e12561c 100644 --- a/pearl/utils/scripts/benchmark_config.py +++ b/pearl/utils/scripts/benchmark_config.py @@ -784,7 +784,7 @@ RCTD3_method_const_0_8["safety_module_args"]["constraint_value"] = 0.8 RCCSAC_method_const_0_2 = { - "name": "RCContinuousSAC $\\alpha$=0.2", + "name": "RCCSAC $\\alpha$=0.2", "policy_learner": ContinuousSoftActorCritic, "policy_learner_args": { "actor_hidden_dims": [256, 256],