Skip to content

Commit 384b11f

Browse files
author
Deric Pang
authored
Merge pull request #1224 from Unity-Technologies/release-v0.5
Release v0.5
2 parents 5c73567 + c9d4bdf commit 384b11f

File tree

760 files changed

+2503
-2051
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

760 files changed

+2503
-2051
lines changed

.gitignore

100755100644
Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1-
/MLAgentsSDK/[Ll]ibrary/
2-
/MLAgentsSDK/[Tt]emp/
3-
/MLAgentsSDK/[Oo]bj/
4-
/MLAgentsSDK/[Bb]uild/
5-
/MLAgentsSDK/[Bb]uilds/
6-
/MLAgentsSDK/[Pp]ackages/
7-
/MLAgentsSDK/[Uu]nity[Pp]ackage[Mm]anager/
8-
/MLAgentsSDK/Assets/AssetStoreTools*
9-
/MLAgentsSDK/Assets/Plugins*
10-
/MLAgentsSDK/Assets/Gizmos*
1+
/UnitySDK/[Ll]ibrary/
2+
/UnitySDK/[Tt]emp/
3+
/UnitySDK/[Oo]bj/
4+
/UnitySDK/[Bb]uild/
5+
/UnitySDK/[Bb]uilds/
6+
/UnitySDK/[Pp]ackages/
7+
/UnitySDK/[Uu]nity[Pp]ackage[Mm]anager/
8+
/UnitySDK/Assets/AssetStoreTools*
9+
/UnitySDK/Assets/Plugins*
10+
/UnitySDK/Assets/Gizmos*
1111

1212
# Tensorflow Model Info
1313
/models
1414
/summaries
1515

16+
# Training environments
17+
/envs
18+
1619
# Environemnt logfile
17-
*MLAgentsSDK.log
20+
*UnitySDK.log
1821

1922
# Visual Studio 2015 cache directory
20-
/MLAgentsSDK/.vs/
23+
/UnitySDK/.vs/
2124

2225
# Autogenerated VS/MD/Consulo solution and project files
23-
/MLAgentsSDKExportedObj/
24-
/MLAgentsSDK.consulo/
26+
/UnitySDKExportedObj/
27+
/UnitySDK.consulo/
2528
*.csproj
2629
*.unityproj
2730
*.sln
@@ -38,7 +41,7 @@
3841
*.pidb.meta
3942

4043
# Unity3D Generated File On Crash Reports
41-
/MLAgentsSDK/sysinfo.txt
44+
/UnitySDK/sysinfo.txt
4245

4346
# Builds
4447
*.apk
@@ -49,10 +52,10 @@
4952
*.x86
5053

5154
# Tensorflow Sharp Files
52-
/MLAgentsSDK/Assets/ML-Agents/Plugins/Android*
53-
/MLAgentsSDK/Assets/ML-Agents/Plugins/iOS*
54-
/MLAgentsSDK/Assets/ML-Agents/Plugins/Computer*
55-
/MLAgentsSDK/Assets/ML-Agents/Plugins/System*
55+
/UnitySDK/Assets/ML-Agents/Plugins/Android*
56+
/UnitySDK/Assets/ML-Agents/Plugins/iOS*
57+
/UnitySDK/Assets/ML-Agents/Plugins/Computer*
58+
/UnitySDK/Assets/ML-Agents/Plugins/System*
5659

5760
# Generated doc folders
5861
/docs/html

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ members of the project's leadership.
6767

6868
## Attribution
6969

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct/
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
71+
version 1.4, available at
72+
https://www.contributor-covenant.org/version/1/4/code-of-conduct/
7273

7374
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,56 @@
11
# Contribution Guidelines
22

3-
Thank you for your interest in contributing to the ML-Agents toolkit! We are incredibly
4-
excited to see how members of our community will use and extend the ML-Agents toolkit.
5-
To facilitate your contributions, we've outlined a brief set of guidelines
6-
to ensure that your extensions can be easily integrated.
3+
Thank you for your interest in contributing to the ML-Agents toolkit! We are
4+
incredibly excited to see how members of our community will use and extend the
5+
ML-Agents toolkit. To facilitate your contributions, we've outlined a brief set
6+
of guidelines to ensure that your extensions can be easily integrated.
77

8-
### Communication
8+
## Communication
99

10-
First, please read through our [code of conduct](CODE_OF_CONDUCT.md),
11-
as we expect all our contributors to follow it.
10+
First, please read through our [code of conduct](CODE_OF_CONDUCT.md), as we
11+
expect all our contributors to follow it.
1212

13-
Second, before starting on a project that you intend to contribute
14-
to the ML-Agents toolkit (whether environments or modifications to the codebase),
15-
we **strongly** recommend posting on our
16-
[Issues page](https://github.com/Unity-Technologies/ml-agents/issues) and
17-
briefly outlining the changes you plan to make. This will enable us to provide
18-
some context that may be helpful for you. This could range from advice and
19-
feedback on how to optimally perform your changes or reasons for not doing it.
13+
Second, before starting on a project that you intend to contribute to the
14+
ML-Agents toolkit (whether environments or modifications to the codebase), we
15+
**strongly** recommend posting on our
16+
[Issues page](https://github.com/Unity-Technologies/ml-agents/issues)
17+
and briefly outlining the changes you plan to make. This will enable us to
18+
provide some context that may be helpful for you. This could range from advice
19+
and feedback on how to optimally perform your changes or reasons for not doing
20+
it.
2021

2122
Lastly, if you're looking for input on what to contribute, feel free to
2223
reach out to us directly at [email protected] and/or browse the GitHub
2324
issues with the `contributions welcome` label.
2425

25-
### Git Branches
26+
## Git Branches
2627

27-
Starting with v0.3, we adopted the
28+
Starting with v0.3, we adopted the
2829
[Gitflow Workflow](http://nvie.com/posts/a-successful-git-branching-model/).
29-
Consequently, the `master` branch corresponds to the latest release of
30+
Consequently, the `master` branch corresponds to the latest release of
3031
the project, while the `develop` branch corresponds to the most recent, stable,
3132
version of the project.
3233

3334
Thus, when adding to the project, **please branch off `develop`**
3435
and make sure that your Pull Request (PR) contains the following:
36+
3537
* Detailed description of the changes performed
36-
* Corresponding changes to documentation, unit tests and sample environments
37-
(if applicable)
38+
* Corresponding changes to documentation, unit tests and sample environments (if
39+
applicable)
3840
* Summary of the tests performed to validate your changes
3941
* Issue numbers that the PR resolves (if any)
4042

41-
### Environments
43+
## Environments
4244

43-
We are also actively open to adding community contributed environments as
44-
examples, as long as they are small, simple, demonstrate a unique feature of
45-
the platform, and provide a unique non-trivial challenge to modern
45+
We are also actively open to adding community contributed environments as
46+
examples, as long as they are small, simple, demonstrate a unique feature of
47+
the platform, and provide a unique non-trivial challenge to modern
4648
machine learning algorithms. Feel free to submit these environments with a
47-
PR explaining the nature of the environment and task.
49+
PR explaining the nature of the environment and task.
4850

49-
### Style Guide
51+
## Style Guide
5052

51-
When performing changes to the codebase, ensure that you follow the style
52-
guide of the file you're modifying. For Python, we follow
53-
[PEP 8](https://www.python.org/dev/peps/pep-0008/). For C#, we will soon be
54-
adding a formal style guide for our repository.
53+
When performing changes to the codebase, ensure that you follow the style guide
54+
of the file you're modifying. For Python, we follow
55+
[PEP 8](https://www.python.org/dev/peps/pep-0008/).
56+
For C#, we will soon be adding a formal style guide for our repository.

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,11 @@ RUN apt-get update && apt-get -y upgrade
122122
# xvfb is used to do CPU based rendering of Unity
123123
RUN apt-get install -y xvfb
124124

125-
126-
COPY ml-agents/requirements.txt .
127-
RUN pip install --trusted-host pypi.python.org -r requirements.txt
128-
129-
COPY README.md .
130125
COPY ml-agents /ml-agents
131126
WORKDIR /ml-agents
132127
RUN pip install .
133128

134129
# port 5005 is the port used in in Editor training.
135130
EXPOSE 5005
136131

137-
ENTRYPOINT ["python", "mlagents/learn.py"]
132+
ENTRYPOINT ["mlagents-learn"]

LICENSE

100755100644
File mode changed.
-3.98 KB
Binary file not shown.

MLAgentsSDK/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs

Lines changed: 0 additions & 99 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)