Skip to content

Commit

Permalink
Update PPO params
Browse files Browse the repository at this point in the history
  • Loading branch information
ShangtongZhang committed Oct 31, 2018
1 parent faa21f6 commit 507d4a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep_rl/network/network_heads.py
Expand Up @@ -150,7 +150,7 @@ def forward(self, obs, action=None):
phi_v = self.network.critic_body(phi)
mean = F.tanh(self.network.fc_action(phi_a))
v = self.network.fc_critic(phi_v)
dist = torch.distributions.Normal(mean, self.std.exp())
dist = torch.distributions.Normal(mean, F.softplus(self.std))
if action is None:
action = dist.sample()
log_prob = dist.log_prob(action)
Expand Down
Binary file modified images/DDPG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/hopper.png
Binary file not shown.

0 comments on commit 507d4a6

Please sign in to comment.