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

Add 'run-experiment' script, simpler curriculum config #3186

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

harperj
Copy link
Contributor

@harperj harperj commented Jan 8, 2020

This change adds a new 'mlagents-run-experiment' endpoint which
accepts a single YAML/JSON file providing all of the information that
mlagents-learn accepts via command-line arguments and file inputs.
As part of this change the curriculum configuration is simplified to
accept only a single file for all the curricula in an environment
rather than a file for each behavior.

This change adds a new 'mlagents-run-experiment' endpoint which
accepts a single YAML/JSON file providing all of the information that
mlagents-learn accepts via command-line arguments and file inputs.
As part of this change the curriculum configuration is simplified to
accept only a single file for all the curricula in an environment
rather than a file for each behavior.
@harperj harperj requested review from ervteng and chriselion January 8, 2020 22:46
@chriselion
Copy link
Contributor

Do you want to have any methods (or examples) for serializing out RunOptions? How are you supposed to produce the input file for mlagents-run-experiment? (looks like RunOptions._asdict() is want you want https://stackoverflow.com/a/26180604/224264)

Copy link
Contributor

@ervteng ervteng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@harperj
Copy link
Contributor Author

harperj commented Jan 9, 2020

@chriselion I've added a pretty-printed version of the RunOptions when --debug is used, and updated based on other comments.

@harperj harperj merged commit bf12f06 into master Jan 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the develop-expt-config branch January 9, 2020 23:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants