Skip to content

Commit 13278d0

Browse files
Chris ElionMarwan Mattar
andauthored
Release 2 docs (#3976)
* Add v1.0 blog post and update reference paper. (#3947) * Develop mm fix readme releases (#3966) * Fix broken link and clean-up Releases section. * Updated link to be consistent with the table. * Update one of the bullets for consistency. * update table, add Versioning doc * release_2_docs Co-authored-by: Marwan Mattar <[email protected]>
1 parent 49f4d9e commit 13278d0

File tree

7 files changed

+138
-37
lines changed

7 files changed

+138
-37
lines changed

README.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Unity ML-Agents Toolkit
44

5-
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_1_docs/docs/)
5+
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/)
66

77
[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE)
88

@@ -48,32 +48,33 @@ descriptions of all these features.
4848

4949
## Releases & Documentation
5050

51-
**Our latest, stable release is `Release 1`. Click [here](docs/Readme.md) to
52-
get started with the latest release of ML-Agents.**
53-
54-
The table below lists all our releases, including our `master` branch which is under active
55-
development and may be unstable. A few helpful guidelines:
56-
* The docs links in the table below include installation and usage instructions specific to each
57-
release. Remember to always use the documentation that corresponds to the release version you're
58-
using.
59-
* See the [GitHub releases](https://github.com/Unity-Technologies/ml-agents/releases) for more
60-
details of the changes between versions.
61-
* If you have used an earlier version of the ML-Agents Toolkit, we strongly recommend our
62-
[guide on migrating from earlier versions](docs/Migrating.md).
51+
**Our latest, stable release is `Release 2`. Click
52+
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/Readme.md)
53+
to get started with the latest release of ML-Agents.**
54+
55+
The table below lists all our releases, including our `master` branch which is
56+
under active development and may be unstable. A few helpful guidelines:
57+
- The [Versioning page](docs/Versioning.md) overviews how we manage our GitHub
58+
releases and the versioning process for each of the ML-Agents components.
59+
- The [Releases page](https://github.com/Unity-Technologies/ml-agents/releases)
60+
contains details of the changes between releases.
61+
- The [Migration page](docs/Migrating.md) contains details on how to upgrade
62+
from earlier releases of the ML-Agents Toolkit.
63+
- The **Documentation** links in the table below include installation and usage
64+
instructions specific to each release. Remember to always use the
65+
documentation that corresponds to the release version you're using.
6366

6467
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** |
6568
|:-------:|:------:|:-------------:|:-------:|:------------:|
6669
| **master (unstable)** | -- | [source](https://github.com/Unity-Technologies/ml-agents/tree/master) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/master/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/master.zip) |
67-
| **Release 1** | **April 30, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_1)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_1/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_1.zip)** |
70+
| **Release 2** | **May 19, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_2)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_2/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_2.zip)** |
71+
| **Release 1** | April 30, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_1.zip) |
6872
| **0.15.1** | March 30, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.15.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.15.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.15.1.zip) |
6973
| **0.15.0** | March 18, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.15.0) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.15.0/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.15.0.zip) |
7074
| **0.14.1** | February 26, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.14.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.14.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.14.1.zip) |
7175
| **0.14.0** | February 13, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.14.0) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.14.0/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.14.0.zip) |
7276
| **0.13.1** | January 21, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.13.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.13.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.13.1.zip) |
7377
| **0.13.0** | January 8, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.13.0) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.13.0/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.13.0.zip) |
74-
| **0.12.1** | December 11, 2019 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.12.1) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.12.1/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.12.1.zip) |
75-
| **0.12.0** | December 2, 2019 | [source](https://github.com/Unity-Technologies/ml-agents/tree/0.12.0) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/0.12.0/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/0.12.0.zip) |
76-
7778
## Citation
7879

7980
If you are a researcher interested in a discussion of Unity as an AI platform,
@@ -83,14 +84,18 @@ see a pre-print of our
8384
If you use Unity or the ML-Agents Toolkit to conduct research, we ask that you
8485
cite the following paper as a reference:
8586

86-
Juliani, A., Berges, V., Vckay, E., Gao, Y., Henry, H., Mattar, M., Lange, D.
87-
(2018). Unity: A General Platform for Intelligent Agents. _arXiv preprint
88-
arXiv:1809.02627._ https://github.com/Unity-Technologies/ml-agents.
87+
Juliani, A., Berges, V., Teng, E., Cohen, A., Harper, J., Elion, C., Goy, C.,
88+
Gao, Y., Henry, H., Mattar, M., Lange, D. (2020). Unity: A General Platform for
89+
Intelligent Agents. _arXiv preprint
90+
[arXiv:1809.02627](https://arxiv.org/abs/1809.02627)._
91+
https://github.com/Unity-Technologies/ml-agents.
8992

9093
## Additional Resources
9194

9295
We have published a series of blog posts that are relevant for ML-Agents:
9396

97+
- (May 12, 2020)
98+
[Announcing ML-Agents Unity Package v1.0!](https://blogs.unity3d.com/2020/05/12/announcing-ml-agents-unity-package-v1-0/)
9499
- (February 28, 2020)
95100
[Training intelligent adversaries using self-play with ML-Agents](https://blogs.unity3d.com/2020/02/28/training-intelligent-adversaries-using-self-play-with-ml-agents/)
96101
- (November 11, 2019)

com.unity.ml-agents/Runtime/Academy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* API. For more information on each of these entities, in addition to how to
2020
* set-up a learning environment and train the behavior of characters in a
2121
* Unity scene, please browse our documentation pages on GitHub:
22-
* https://github.com/Unity-Technologies/ml-agents/tree/release_1_docs/docs/
22+
* https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/
2323
*/
2424

2525
namespace Unity.MLAgents
@@ -51,7 +51,7 @@ void FixedUpdate()
5151
/// fall back to inference or heuristic decisions. (You can also set agents to always use
5252
/// inference or heuristics.)
5353
/// </remarks>
54-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_1_docs/" +
54+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/" +
5555
"docs/Learning-Environment-Design.md")]
5656
public class Academy : IDisposable
5757
{

com.unity.ml-agents/Runtime/Agent.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ internal struct AgentAction
144144
/// [OnDisable()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDisable.html]
145145
/// [OnBeforeSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnBeforeSerialize.html
146146
/// [OnAfterSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnAfterSerialize.html
147-
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md
148-
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design.md
147+
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md
148+
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design.md
149149
/// [Unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
150-
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Readme.md
150+
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Readme.md
151151
///
152152
/// </remarks>
153-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/" +
153+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/" +
154154
"docs/Learning-Environment-Design-Agents.md")]
155155
[Serializable]
156156
[RequireComponent(typeof(BehaviorParameters))]
@@ -598,8 +598,8 @@ public int CompletedEpisodes
598598
/// for information about mixing reward signals from curiosity and Generative Adversarial
599599
/// Imitation Learning (GAIL) with rewards supplied through this method.
600600
///
601-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#rewards
602-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
601+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#rewards
602+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
603603
/// </remarks>
604604
/// <param name="reward">The new value of the reward.</param>
605605
public void SetReward(float reward)
@@ -628,8 +628,8 @@ public void SetReward(float reward)
628628
/// for information about mixing reward signals from curiosity and Generative Adversarial
629629
/// Imitation Learning (GAIL) with rewards supplied through this method.
630630
///
631-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#rewards
632-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
631+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#rewards
632+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
633633
///</remarks>
634634
/// <param name="increment">Incremental reward value.</param>
635635
public void AddReward(float increment)
@@ -781,8 +781,8 @@ public virtual void Initialize() {}
781781
/// implementing a simple heuristic function can aid in debugging agent actions and interactions
782782
/// with its environment.
783783
///
784-
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
785-
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#actions
784+
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
785+
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
786786
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
787787
/// </remarks>
788788
/// <example>
@@ -973,7 +973,7 @@ void ResetSensors()
973973
/// For more information about observations, see [Observations and Sensors].
974974
///
975975
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
976-
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
976+
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
977977
/// </remarks>
978978
public virtual void CollectObservations(VectorSensor sensor)
979979
{
@@ -1004,7 +1004,7 @@ public ReadOnlyCollection<float> GetObservations()
10041004
///
10051005
/// See [Agents - Actions] for more information on masking actions.
10061006
///
1007-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#actions
1007+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
10081008
/// </remarks>
10091009
/// <seealso cref="OnActionReceived(float[])"/>
10101010
public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker)
@@ -1074,7 +1074,7 @@ public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker
10741074
///
10751075
/// For more information about implementing agent actions see [Agents - Actions].
10761076
///
1077-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#actions
1077+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
10781078
/// </remarks>
10791079
/// <param name="vectorAction">
10801080
/// An array containing the action vector. The length of the array is specified

com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Unity.MLAgents.Demonstrations
1919
/// See [Imitation Learning - Recording Demonstrations] for more information.
2020
///
2121
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
22-
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
22+
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
2323
/// </remarks>
2424
[RequireComponent(typeof(Agent))]
2525
[AddComponentMenu("ML Agents/Demonstration Recorder", (int)MenuGroup.Default)]

com.unity.ml-agents/Runtime/DiscreteActionMasker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ internal DiscreteActionMasker(BrainParameters brainParameters)
4040
///
4141
/// See [Agents - Actions] for more information on masking actions.
4242
///
43-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_1_docs/docs/Learning-Environment-Design-Agents.md#actions
43+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
4444
/// </remarks>
4545
/// <param name="branch">The branch for which the actions will be masked.</param>
4646
/// <param name="actionIndices">The indices of the masked actions.</param>

0 commit comments

Comments
 (0)