Fixed Bug: Wrong Params for instantiation of StdNet
This commit is contained in:
parent
224fc82a48
commit
852e1817f7
@ -118,8 +118,7 @@ class PCA_Distribution(SB3_Distribution):
|
|||||||
|
|
||||||
def proba_distribution_net(self, latent_dim: int):
|
def proba_distribution_net(self, latent_dim: int):
|
||||||
mu_net = nn.Linear(latent_dim, self.action_dim)
|
mu_net = nn.Linear(latent_dim, self.action_dim)
|
||||||
std_net = StdNet(latent_dim, self.action_dim,
|
std_net = StdNet(latent_dim, self.action_dim, self.init_std, self.par_strength, self.epsilon)
|
||||||
self.init_std, self.par_strength)
|
|
||||||
|
|
||||||
return mu_net, std_net
|
return mu_net, std_net
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user