Skip to content
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

stable baselines agents dont work with train_from_config() #545

Open
davidhennemann opened this issue Aug 22, 2022 · 0 comments
Open

stable baselines agents dont work with train_from_config() #545

davidhennemann opened this issue Aug 22, 2022 · 0 comments

Comments

@davidhennemann
Copy link
Collaborator

The stable baselines agents can't be used from the train_from_config() >> run_training_session().

assert issubclass(agent, (q_learning_agent.QLearningAgent, actorcritic_agent.ActorCriticAgent)), \
		f'the RL_agent_class passed must be a subclass of either QLearningAgent or ActorCriticAgent: {agent}'

It seems like run_training_session is used for ActorCriticAgent and QLearningAgent, but StableBaselinesAgents are invoked differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant