Fixing more issues with PCA
This commit is contained in:
parent
c9ca5c0b53
commit
81e223183a
@ -676,6 +676,8 @@ class ActorCriticPolicy(BasePolicy):
|
||||
return self.action_dist.proba_distribution(action_logits=mean_actions)
|
||||
elif isinstance(self.action_dist, StateDependentNoiseDistribution):
|
||||
return self.action_dist.proba_distribution(mean_actions, self.log_std, latent_pi)
|
||||
elif isinstance(self.action_dist, PCA_Distribution):
|
||||
return self.action_dist.proba_distribution(mean_actions, self.log_std)
|
||||
else:
|
||||
raise ValueError("Invalid action distribution")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user