-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Create ML-Agents Package #3267
Create ML-Agents Package #3267
Conversation
7e3d470
to
a591234
Compare
@@ -32,7 +32,7 @@ Pyramids: | |||
max_steps: 5.0e5 | |||
num_epoch: 3 | |||
behavioral_cloning: | |||
demo_path: UnitySDK/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo | |||
demo_path: Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All demo files are now in the Project
folder. Should we put them in the Samples
section of the package?
@@ -38,14 +38,16 @@ importing the ML-Agents assets into it: | |||
|
|||
1. Launch the Unity Editor and create a new project named "RollerBall". | |||
2. Make sure that the Scripting Runtime Version for the project is set to use | |||
**.NET 4.x Equivalent** (This is an experimental option in Unity 2017, | |||
**.NET 4.x Equivalent** (This s an experimental option in Unity 2017, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure how this happened.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mv -R --lossy
?
@@ -6,6 +6,9 @@ | |||
using MLAgents.CommunicatorObjects; | |||
using MLAgents.Sensor; | |||
using UnityEngine; | |||
using System.Runtime.CompilerServices; | |||
|
|||
[assembly: InternalsVisibleTo("Unity.ML-Agents.Editor")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes the assembly that this file is in internally visible to the Editor assembly.
f22d75b
to
663a437
Compare
a86a2c3
to
1aee56c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Echo @chriselion's sentiment about removing or changing the placeholder documentation files, but otherwise this PR LGTM
"allowUnsafeCode": false, | ||
"overrideReferences": true, | ||
"precompiledReferences": [ | ||
"System.IO.Abstractions.dll", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we actually need these? Is this to help with platform filesystems?
@@ -73,7 +73,7 @@ In addition to our own documentation, here are some additional, relevant article | |||
|
|||
The ML-Agents toolkit is an open-source project and we encourage and welcome | |||
contributions. If you wish to contribute, be sure to review our | |||
[contribution guidelines](CONTRIBUTING.md) and | |||
[contribution guidelines](com.unity.ml-agents/CONTRIBUTING.md) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does CONTRIBUTING.md only concerns the package? Do we need another contributing doc for the Examples ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking was we would link to this one since it's required for packages. But we could just copy it instead of linking it. What do you think?
@@ -7,7 +7,7 @@ of guidelines to ensure that your extensions can be easily integrated. | |||
|
|||
## Communication | |||
|
|||
First, please read through our [code of conduct](CODE_OF_CONDUCT.md), as we | |||
First, please read through our [code of conduct](https://github.com/Unity-Technologies/ml-agents/blob/master/CODE_OF_CONDUCT.md), as we |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will eventually break, we should try to use relative locations for the documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A package will be created from this and a relative path won't make sense once that happens, hence the full URL.
{ | ||
"name": "Unity.ML-Agents.Tests", | ||
"references": [ | ||
"Unity.ML-Agents", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it okay to have -
in the name? Would Unity.MLAgents
be better ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it matters, what do you prefer?
@@ -54,7 +54,7 @@ ML-Agents toolkit은 유니티의 풍부한 환경에서 인공지능 에이전 | |||
## 커뮤니티 그리고 피드백 | |||
|
|||
ML-Agents toolkit은 오픈소스 프로젝트이며 컨트리뷰션을 환영합니다. 만약 컨트리뷰션을 원하시는 경우 | |||
[컨트리뷰션 가이드라인](CONTRIBUTING.md)과 [행동 규칙](CODE_OF_CONDUCT.md)을 검토해주십시오. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The localized documentation is frozen and should not change. It is tied to a specific version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would make sense if the links were tied to that specific version, but they are not. Do you want me to revert those changes?
2422670
to
e7267aa
Compare
… to Unity.ML-Agents.Editor.
…arty dlls as needed.
…nt there instead.
…kage validation checks.
e7267aa
to
b81b87d
Compare
How to install Grpc.Tools-Version1.14.1 into specific directory( $MLAGENTS_ROOT\protobuf-definitions)using Anaconda3?? Navigate to your installation of nuget and run the following: nuget install Grpc.Tools -Version 1.14.1 -OutputDirectory $MLAGENTS_ROOT\protobuf-definitions |
Convert the UnitySDK to a Packman Package
Things to follow up on: