From 2463f8b42989326f4ede2cf9c46467ef64b2d8b1 Mon Sep 17 00:00:00 2001 From: Ilya Konnov <49668442+konnovdev@users.noreply.github.com> Date: Tue, 10 Dec 2024 01:12:11 +0800 Subject: [PATCH] Update README.md (update EnvFactoryRegistered params) (#1228) To initiate a EnvFactoryRegistered, we now need `train_seed=0` and `test_seed=0` arguments passed instead of `seed` previously written in documentation code snippet. - [x] I have added the correct label(s) to this Pull Request or linked the relevant issue(s) - [x] I have provided a description of the changes in this Pull Request - [x] I have added documentation for my changes and have listed relevant changes in CHANGELOG.md - [x] If applicable, I have added tests to cover my changes. - [x] I have reformatted the code using `poe format` - [x] I have checked style and types with `poe lint` and `poe type-check` - [x] (Optional) I ran tests locally with `poe test` (or a subset of them with `poe test-reduced`) ,and they pass - [x] (Optional) I have tested that documentation builds correctly with `poe doc-build` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3f272f68..ee69f6ae6 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ almost exclusively concerned with configuration that controls what to do ```python experiment = ( DQNExperimentBuilder( - EnvFactoryRegistered(task="CartPole-v1", seed=0, venv_type=VectorEnvType.DUMMY), + EnvFactoryRegistered(task="CartPole-v1", train_seed=0, test_seed=0, venv_type=VectorEnvType.DUMMY), ExperimentConfig( persistence_enabled=False, watch=True,