Skip to content

Commit 4c62340

Browse files
committed
fix: add missing seed in PPO identity test
1 parent b62b46a commit 4c62340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_identity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_continuous(model_class):
4545
elif model_class in [A2C]:
4646
kwargs["policy_kwargs"]["log_std_init"] = -0.5
4747
elif model_class == PPO:
48-
kwargs = dict(n_steps=512, n_epochs=5)
48+
kwargs = dict(n_steps=512, n_epochs=5, seed=0)
4949

5050
model = model_class("MlpPolicy", env, learning_rate=1e-3, **kwargs).learn(n_steps)
5151

0 commit comments

Comments
 (0)