Skip to content

Commit 30db4b6

Browse files
committed
Update solution notebooks
1 parent f4e9636 commit 30db4b6

5 files changed

Lines changed: 196 additions & 123 deletions

File tree

notebooks/solutions/1_fitted_q_iteration_fqi.ipynb

Lines changed: 22 additions & 18 deletions
Large diffs are not rendered by default.

notebooks/solutions/2_deep_q_network_dqn_components.ipynb

Lines changed: 27 additions & 21 deletions
Large diffs are not rendered by default.

notebooks/solutions/3_deep_q_network_dqn_update.ipynb

Lines changed: 24 additions & 15 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,14 @@ dependencies = [
2626
"numpy",
2727
"scikit-learn",
2828
"torch>=2.4.0",
29-
"gymnasium[classic-control,other]>=0.29.1,<1.3.0",
29+
"gymnasium[classic-control,other]>=0.29.1,<2.0",
30+
"flappy-bird-gymnasium>=0.4.0",
3031
]
3132

3233
[dependency-groups]
3334
dev = [
3435
"jupyterlab>=4.5.6",
35-
]
36-
37-
[tool.setuptools_scm]
38-
write_to = "dqn_tutorial/_version.py"
39-
40-
[[tool.uv.index]]
41-
name = "pytorch-cpu"
42-
url = "https://download.pytorch.org/whl/cpu"
43-
explicit = true
44-
45-
[tool.uv.sources]
46-
torch = [
47-
{ index = "pytorch-cpu" },
36+
"jupyter-black>=0.4.0",
4837
]
4938

5039
[project.optional-dependencies]
@@ -60,6 +49,20 @@ tests = [
6049
"black",
6150
]
6251

52+
53+
[tool.setuptools_scm]
54+
write_to = "dqn_tutorial/_version.py"
55+
56+
[[tool.uv.index]]
57+
name = "pytorch-cpu"
58+
url = "https://download.pytorch.org/whl/cpu"
59+
explicit = true
60+
61+
[tool.uv.sources]
62+
torch = [
63+
{ index = "pytorch-cpu" },
64+
]
65+
6366
[project.urls]
6467
"Homepage" = "https://github.com/araffin/rlss23-dqn"
6568
"Bug Tracker" = "https://github.com/araffin/rlss23-dqn/issues"

0 commit comments

Comments
 (0)