You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing the Stable Baselines3 - Pretraining with Behavior Cloning example for a PPO agent with a discrete action space. However I can not retrieve the logits by the method proposed in the code
due to a AttributeError: 'ActorCriticPolicy' object has no attribute '_get_latent'. How can i work around that? is there another possibility to get the action probabilities?
The text was updated successfully, but these errors were encountered:
I am implementing the Stable Baselines3 - Pretraining with Behavior Cloning example for a PPO agent with a discrete action space. However I can not retrieve the logits by the method proposed in the code
latent_pi, _, _ = model._get_latent(data)
logits = model.action_net(latent_pi)
action_prediction = logits
due to a AttributeError: 'ActorCriticPolicy' object has no attribute '_get_latent'. How can i work around that? is there another possibility to get the action probabilities?
The text was updated successfully, but these errors were encountered: