Fixed Bug: Wrong Params for instantiation of StdNet

This commit is contained in:
Dominik Moritz Roth 2023-05-21 17:08:45 +02:00
parent 224fc82a48
commit 852e1817f7

View File

@ -118,8 +118,7 @@ class PCA_Distribution(SB3_Distribution):
def proba_distribution_net(self, latent_dim: int):
mu_net = nn.Linear(latent_dim, self.action_dim)
std_net = StdNet(latent_dim, self.action_dim,
self.init_std, self.par_strength)
std_net = StdNet(latent_dim, self.action_dim, self.init_std, self.par_strength, self.epsilon)
return mu_net, std_net