Skip to content

Commit

Permalink
hyperparameters tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhangliu committed Jan 16, 2025
1 parent 798b075 commit 978021e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hyperparameter_tuning/tune_dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
running_steps=1000,
test_episodes=2)

selected_hyperparameters = tuner.select_hyperparameter(['learning_rate'])
selected_hyperparameters = tuner.select_hyperparameter(['learning_rate', 'gamma'])

overrides = {
'learning_rate': [0.001, 0.0001, 0.00001], # Categorical: Search in the set of {0.001, 0.0001, 0.00001}.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"tune": [
"optuna>=4.1.0",
"optuna-dashboard>=0.17.0",
"plotly>=5.24.1",
],
"atari": ["gymnasium[accept-rom-license]==0.28.1",
"gymnasium[atari]==0.28.1",
Expand Down

0 comments on commit 978021e

Please sign in to comment.