-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Why can't directly use the PPO (RecurrentActorCriticPolicy, "CartPole - v1", verbose = 1) #257
Comments
Here is the complete code, I just copy RecurrentActorCriticPolicy code. import numpy as np class RecurrentActorCriticPolicy(ActorCriticPolicy):
if name == 'main': |
❓ Question
I want to modify the network structure for RecurrentPPO, but when I run the original network, I get the following error
error:
self.features_extractor = features_extractor_class(self.observation_space, **self.features_extractor_kwargs)
TypeError: NoneType object argument after ** must be a mapping, not bool
code:
if __name__ == '__main__': model = PPO(RecurrentActorCriticPolicy, "CartPole-v1", verbose=1) model.learn(1000)
Checklist
The text was updated successfully, but these errors were encountered: