Skip to content

Commit

Permalink
Set a test start time to not fall into Nans when resetting the enviro…
Browse files Browse the repository at this point in the history
…nment.
  • Loading branch information
javiarrobas committed Oct 3, 2024
1 parent 3648add commit c5a18b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/test_boptestGymEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,9 @@ def setUp(self):
regressive_period=6*3600,
max_episode_length=24*3600,
warmup_period=24*3600,
step_period=3600
step_period=3600,
random_start_time=False,
start_time=31*24*3600
)

# Normalize observations and discretize action space
Expand Down

0 comments on commit c5a18b4

Please sign in to comment.