Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lli
YM-Seminar
Commits
3f9ca7fe
Commit
3f9ca7fe
authored
Apr 25, 2021
by
lli
Browse files
update
parent
d12d5a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
reinforce_tune_lr.py
View file @
3f9ca7fe
...
...
@@ -19,4 +19,4 @@ for run_id, (policy_lr, value_lr) in enumerate(product(*param_values)):
print
(
'Policy learning rate: '
,
policy_lr
)
print
(
'Value learning rate: '
,
value_lr
)
os
.
system
(
f
"python train_reinforce.py --save_path
{
run_id
+
1
}
--n_hidden 128 --lr_policy
{
policy_lr
}
--lr_value
{
value_lr
}
--n_episode
2
00 "
)
f
"python train_reinforce.py --save_path
{
run_id
+
1
}
--n_hidden 128 --lr_policy
{
policy_lr
}
--lr_value
{
value_lr
}
--n_episode
500
00 "
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment