Skip to content

Commit 26fff0f

Browse files
committed
Renaming "episode" to "i_episode" in info due to SB3 limitation
1 parent 8260e11 commit 26fff0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aintelope/agents/sb3_base_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
# TODO: implement these infos in savanna_safetygrid.py instead
5050
INFO_PIPELINE_CYCLE = "pipeline_cycle"
51-
INFO_EPISODE = "episode"
51+
INFO_EPISODE = "i_episode" # NB! cannot use "episode" because it is used internally by Stable Baselines (including ver 3), see: https://github.com/hill-a/stable-baselines/issues/977
5252
INFO_ENV_LAYOUT_SEED = "env_layout_seed"
5353
INFO_STEP = "step"
5454
INFO_TEST_MODE = "test_mode"

0 commit comments

Comments
 (0)