Skip to content

Commit

Permalink
Make SQIL tests more deterministic by adding more seeding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestum committed Oct 11, 2023
1 parent cf29284 commit f053932
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/algorithms/test_sqil.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_sqil_few_demonstrations_discrete(
cartpole_venv,
"seals/CartPole-v0",
rl_algo_class=dqn.DQN,
rl_kwargs=dict(learning_starts=10),
rl_kwargs=dict(learning_starts=10, seed=42),
)


Expand All @@ -174,6 +174,7 @@ def test_sqil_few_demonstrations_continuous(
pendulum_single_venv,
"Pendulum-v1",
rl_algo_class=rl_algo_class,
rl_kwargs=dict(seed=42),
)


Expand Down

0 comments on commit f053932

Please sign in to comment.