Closed
Conversation
Collaborator
Author
|
Running an experiment here: https://wandb.ai/costa-huang/gym-microrts/runs/x9y055w6 |
kachayev
reviewed
Jan 15, 2022
| # randomly load an opponent: fictitious self-play | ||
| list_of_agents = os.listdir(f"models/{experiment_name}") | ||
| list_of_agents.remove('agent.pt') | ||
| chosen_agent2pt = random.choice(list_of_agents) |
Contributor
There was a problem hiding this comment.
Should we prune agents that have chance of winning < threshold? With the current implementation, it seems to that number of saved agent only grows over time, right? 🤔
Contributor
There was a problem hiding this comment.
Okay, I have much large question here. Will formulate it properly and will ask on Discord, so we can discuss 😀
Collaborator
Author
Collaborator
Author
|
Per discussion with @kachayev, it turns out the implementation in this repo is definitely not fictitious selfplay, which also has a supervised learning component. Instead, this PR implements what I call "Random Selfplay" where the agent plays against a random past version of self. |
9a50231 to
43d7e1a
Compare
Collaborator
Author
|
Closed in favor of #57 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR prototypes fictitious selfplay.
Known issue: still needs to change the following variables to exclude data from
agent2