Skip to content

Commit 358909f

Browse files
authored
Fix syntax errors in Ray Tune example pbt_ppo_example.ipynb (#51626)
Just a missing comma and equal sign Signed-off-by: Jonathan Dumaine <jonathan@dumstruck.com>
1 parent 6ecf992 commit 358909f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/tune/examples/pbt_ppo_example.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@
100100
" # These params are tuned from a fixed starting value.\n",
101101
" kl_coeff=1.0,\n",
102102
" lambda_=0.95,\n",
103-
" clip_param=0.2\n",
103+
" clip_param=0.2,\n",
104104
" lr=1e-4,\n",
105105
" # These params start off randomly drawn from a set.\n",
106106
" num_epochs=tune.choice([10, 20, 30]),\n",
107107
" minibatch_size=tune.choice([128, 512, 2048]),\n",
108-
" train_batch_size_per_learner: tune.choice([10000, 20000, 40000]),\n",
108+
" train_batch_size_per_learner=tune.choice([10000, 20000, 40000]),\n",
109109
" )\n",
110110
" .rl_module(\n",
111111
" model_config=DefaultModelConfig(free_log_std=True),\n",

0 commit comments

Comments
 (0)