Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygo-agent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biluo Shen
ygo-agent
Commits
3e538bc7
Commit
3e538bc7
authored
Apr 30, 2024
by
sbl1996@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change default hyperparameters
parent
81d80f7f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
scripts/impala.py
scripts/impala.py
+3
-3
scripts/ppo.py
scripts/ppo.py
+1
-1
No files found.
scripts/impala.py
View file @
3e538bc7
...
...
@@ -110,11 +110,11 @@ class Args:
"""whether to use the PPO clipping to replace V-Trace surrogate clipping"""
clip_coef
:
float
=
0.25
"""the PPO surrogate clipping coefficient"""
dual_clip_coef
:
Optional
[
float
]
=
None
"""the dual surrogate clipping coefficient"""
dual_clip_coef
:
Optional
[
float
]
=
3.0
"""the dual surrogate clipping coefficient
, typically 3.0
"""
ent_coef
:
float
=
0.01
"""coefficient of the entropy"""
vf_coef
:
float
=
0.5
vf_coef
:
float
=
1.0
"""coefficient of the value function"""
max_grad_norm
:
float
=
1.0
"""the maximum norm for the gradient clipping"""
...
...
scripts/ppo.py
View file @
3e538bc7
...
...
@@ -105,7 +105,7 @@ class Args:
"""Toggles advantages normalization"""
clip_coef
:
float
=
0.25
"""the surrogate clipping coefficient"""
dual_clip_coef
:
Optional
[
float
]
=
None
dual_clip_coef
:
Optional
[
float
]
=
3.0
"""the dual surrogate clipping coefficient, typically 3.0"""
spo_kld_max
:
Optional
[
float
]
=
None
"""the maximum KLD for the SPO policy, typically 0.02"""
...
...
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