Skip to content

Testing gym with basic environment #3725

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

Merged
merged 5 commits into from
Apr 3, 2020
Merged

Testing gym with basic environment #3725

merged 5 commits into from
Apr 3, 2020

Conversation

vincentpierre
Copy link
Contributor

@vincentpierre vincentpierre commented Apr 2, 2020

Proposed change(s)

  • Modified the standalone build to potentially generate any of our example environments.
  • Used it to generate the Basic Environment and test the single agent gym
  • Deprecated the test for multi-agent gym.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (new test)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • [ ] Updated the changelog (if applicable)
  • [ ] Updated the documentation (if applicable)
  • [ ] Updated the migration guide (if applicable)

Other comments

@vincentpierre vincentpierre self-assigned this Apr 2, 2020
@vincentpierre vincentpierre requested a review from chriselion April 2, 2020 23:52
@@ -45,6 +48,8 @@ def run_standalone_build(
test_args += ["-logfile", "-"]
if output_path is not None:
test_args += ["--mlagents-build-output-path", output_path]
if scene_path is not None:
test_args += ["--mlagents-build-scene-path", scene_path]
Copy link
Contributor

Choose a reason for hiding this comment

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

The whole PR make sense to me. Just wondering who is parsing this --mlagents-build-scene-path arg?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://github.com/Unity-Technologies/ml-agents/blob/master/Project/Assets/ML-Agents/Editor/Tests/StandaloneBuildTest.cs#L11
That would be the BuildStandalonePlayerOSX method in the StandaloneBuildTest.cs file.

@vincentpierre vincentpierre merged commit 8ad72c0 into master Apr 3, 2020
@delete-merged-branch delete-merged-branch bot deleted the develop-test-gym branch April 3, 2020 22:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 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