Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jiakai Song
pdqn_hppo
Commits
e42f0d68
Commit
e42f0d68
authored
Sep 18, 2021
by
Jiakai Song
Browse files
Update hppo.py
parent
4746c68c
Changes
1
Hide whitespace changes
Inline
Side-by-side
algorithms/hppo.py
View file @
e42f0d68
...
...
@@ -39,7 +39,7 @@ class PSActor(nn.Module):
categorical
=
Categorical
(
prob
)
mu
=
torch
.
tanh
(
self
.
mu
(
x
))
# mu = self.mu(
continuous
)
# mu = self.mu(
x
)
std
=
torch
.
exp
(
self
.
log_std
)
dist
=
normal
.
Normal
(
mu
,
std
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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