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

How to make 2 networks play against each other? #18

Open
arch-il opened this issue Nov 18, 2023 · 1 comment
Open

How to make 2 networks play against each other? #18

arch-il opened this issue Nov 18, 2023 · 1 comment

Comments

@arch-il
Copy link

arch-il commented Nov 18, 2023

I really love the approach of this library, but can't seem to figure out how to make program play with itself. Can I exchange states between 2 agents in any way, or has this not been accounted for yet?

@milanboers
Copy link
Owner

Hey! This is not really accounted for. What I could think of is making two agents and two AgentTrainers, sharing a single State. Then you train with only 1 iteration (FixedIterations::new(1)) and make them alternate in a loop.

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

No branches or pull requests

2 participants