Skip to content

Commit 243c2e4

Browse files
committed
Release 17 version bumps and docs version bumps (#5280)
1 parent f6de260 commit 243c2e4

File tree

17 files changed

+48
-49
lines changed

17 files changed

+48
-49
lines changed

README.md

Lines changed: 1 addition & 2 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_16_docs/docs/)
5+
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/)
66

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

@@ -46,7 +46,6 @@ descriptions of all these features.
4646

4747
## Releases & Documentation
4848

49-
5049
**Our latest, stable release is `Release 17`. Click
5150
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/Readme.md)
5251
to get started with the latest release of ML-Agents.**

com.unity.ml-agents.extensions/Documentation~/com.unity.ml-agents.extensions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ The ML-Agents Extensions package is not currently available in the Package Manag
2828
recommended ways to install the package:
2929

3030
### Local Installation
31-
[Clone the repository](https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/docs/Installation.md#clone-the-ml-agents-toolkit-repository-optional) and follow the
32-
[Local Installation for Development](https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/docs/Installation.md#advanced-local-installation-for-development-1)
31+
[Clone the repository](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/Installation.md#clone-the-ml-agents-toolkit-repository-optional) and follow the
32+
[Local Installation for Development](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/Installation.md#advanced-local-installation-for-development-1)
3333
directions (substituting `com.unity.ml-agents.extensions` for the package name).
3434

3535
### Github via Package Manager
3636
In Unity 2019.4 or later, open the Package Manager, hit the "+" button, and select "Add package from git URL".
3737

38-
![Package Manager git URL](https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/images/unity_package_manager_git_url.png)
38+
![Package Manager git URL](https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/images/unity_package_manager_git_url.png)
3939

4040
In the dialog that appears, enter
4141
```
42-
git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents.extensions#release_16
42+
git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents.extensions#release_17
4343
```
4444

4545
You can also edit your project's `manifest.json` directly and add the following line to the `dependencies`
4646
section:
4747
```
48-
"com.unity.ml-agents.extensions": "git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents.extensions#release_16",
48+
"com.unity.ml-agents.extensions": "git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents.extensions#release_17",
4949
```
5050
See [Git dependencies](https://docs.unity3d.com/Manual/upm-git.html#subfolder) for more information. Note that this
5151
may take several minutes to resolve the packages the first time that you add it.
@@ -67,4 +67,4 @@ If using the `InputActuatorComponent`
6767
- No way to customize the action space of the `InputActuatorComponent`
6868

6969
## Need Help?
70-
The main [README](https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/README.md) contains links for contacting the team or getting support.
70+
The main [README](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/README.md) contains links for contacting the team or getting support.

com.unity.ml-agents/Documentation~/com.unity.ml-agents.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,25 @@ With the changes to Unity Package Manager in 2021, experimental packages will no
6161

6262
In Unity 2019.4 or later, open the Package Manager, hit the "+" button, and select "Add package from git URL".
6363

64-
![Package Manager git URL](https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/images/unity_package_manager_git_url.png)
64+
![Package Manager git URL](https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/images/unity_package_manager_git_url.png)
6565

6666
In the dialog that appears, enter
6767
```
68-
git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_16
68+
git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_17
6969
```
7070

7171
You can also edit your project's `manifest.json` directly and add the following line to the `dependencies`
7272
section:
7373
```
74-
"com.unity.ml-agents": "git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_16",
74+
"com.unity.ml-agents": "git+https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_17",
7575
```
7676
See [Git dependencies](https://docs.unity3d.com/Manual/upm-git.html#subfolder) for more information. Note that this
7777
may take several minutes to resolve the packages the first time that you add it.
7878

7979
#### Local Installation for Development
8080

81-
[Clone the repository](https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/docs/Installation.md#clone-the-ml-agents-toolkit-repository-optional) and follow the
82-
[Local Installation for Development](https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/docs/Installation.md#advanced-local-installation-for-development-1)
81+
[Clone the repository](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/Installation.md#clone-the-ml-agents-toolkit-repository-optional) and follow the
82+
[Local Installation for Development](https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/docs/Installation.md#advanced-local-installation-for-development-1)
8383
directions.
8484

8585
## Requirements
@@ -152,10 +152,10 @@ Please refer to "Information that is passively collected by Unity" in the
152152
[unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
153153
[unity inference engine]: https://docs.unity3d.com/Packages/com.unity.barracuda@latest/index.html
154154
[package manager documentation]: https://docs.unity3d.com/Manual/upm-ui-install.html
155-
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Installation.md
155+
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Installation.md
156156
[github repository]: https://github.com/Unity-Technologies/ml-agents
157157
[python package]: https://github.com/Unity-Technologies/ml-agents
158158
[execution order of event functions]: https://docs.unity3d.com/Manual/ExecutionOrder.html
159159
[connect with us]: https://github.com/Unity-Technologies/ml-agents#community-and-feedback
160160
[ml-agents forum]: https://forum.unity.com/forums/ml-agents.453/
161-
[ML-Agents GitHub repo]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/com.unity.ml-agents.extensions
161+
[ML-Agents GitHub repo]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/com.unity.ml-agents.extensions

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

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

2626
namespace Unity.MLAgents
@@ -61,7 +61,7 @@ void FixedUpdate()
6161
/// fall back to inference or heuristic decisions. (You can also set agents to always use
6262
/// inference or heuristics.)
6363
/// </remarks>
64-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_16_docs/" +
64+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_17_docs/" +
6565
"docs/Learning-Environment-Design.md")]
6666
public class Academy : IDisposable
6767
{

com.unity.ml-agents/Runtime/Actuators/IActionReceiver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public interface IActionReceiver
184184
///
185185
/// See [Agents - Actions] for more information on masking actions.
186186
///
187-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#actions
187+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#actions
188188
/// </remarks>
189189
/// <seealso cref="IActionReceiver.OnActionReceived"/>
190190
void WriteDiscreteActionMask(IDiscreteActionMask actionMask);

com.unity.ml-agents/Runtime/Actuators/IDiscreteActionMask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public interface IDiscreteActionMask
1616
///
1717
/// See [Agents - Actions] for more information on masking actions.
1818
///
19-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#actions
19+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#actions
2020
/// </remarks>
2121
/// <param name="branch">The branch for which the actions will be masked.</param>
2222
/// <param name="actionIndex">Index of the action</param>

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ public override BuiltInActuatorType GetBuiltInActuatorType()
185185
/// [OnDisable()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDisable.html]
186186
/// [OnBeforeSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnBeforeSerialize.html
187187
/// [OnAfterSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnAfterSerialize.html
188-
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md
189-
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design.md
188+
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md
189+
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design.md
190190
/// [Unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
191-
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Readme.md
191+
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Readme.md
192192
///
193193
/// </remarks>
194-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/" +
194+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/" +
195195
"docs/Learning-Environment-Design-Agents.md")]
196196
[Serializable]
197197
[RequireComponent(typeof(BehaviorParameters))]
@@ -692,8 +692,8 @@ public int CompletedEpisodes
692692
/// for information about mixing reward signals from curiosity and Generative Adversarial
693693
/// Imitation Learning (GAIL) with rewards supplied through this method.
694694
///
695-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#rewards
696-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
695+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#rewards
696+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
697697
/// </remarks>
698698
/// <param name="reward">The new value of the reward.</param>
699699
public void SetReward(float reward)
@@ -720,8 +720,8 @@ public void SetReward(float reward)
720720
/// for information about mixing reward signals from curiosity and Generative Adversarial
721721
/// Imitation Learning (GAIL) with rewards supplied through this method.
722722
///
723-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#rewards
724-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
723+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#rewards
724+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
725725
///</remarks>
726726
/// <param name="increment">Incremental reward value.</param>
727727
public void AddReward(float increment)
@@ -909,8 +909,8 @@ public virtual void Initialize() { }
909909
/// implementing a simple heuristic function can aid in debugging agent actions and interactions
910910
/// with its environment.
911911
///
912-
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
913-
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#actions
912+
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
913+
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#actions
914914
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
915915
/// </remarks>
916916
/// <example>
@@ -1165,7 +1165,7 @@ void ResetSensors()
11651165
/// For more information about observations, see [Observations and Sensors].
11661166
///
11671167
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
1168-
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
1168+
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
11691169
/// </remarks>
11701170
public virtual void CollectObservations(VectorSensor sensor)
11711171
{
@@ -1196,7 +1196,7 @@ public ReadOnlyCollection<float> GetObservations()
11961196
///
11971197
/// See [Agents - Actions] for more information on masking actions.
11981198
///
1199-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#actions
1199+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#actions
12001200
/// </remarks>
12011201
/// <seealso cref="IActionReceiver.OnActionReceived"/>
12021202
public virtual void WriteDiscreteActionMask(IDiscreteActionMask actionMask) { }
@@ -1262,7 +1262,7 @@ public virtual void WriteDiscreteActionMask(IDiscreteActionMask actionMask) { }
12621262
///
12631263
/// For more information about implementing agent actions see [Agents - Actions].
12641264
///
1265-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_16_docs/docs/Learning-Environment-Design-Agents.md#actions
1265+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs/Learning-Environment-Design-Agents.md#actions
12661266
/// </remarks>
12671267
/// <param name="actions">
12681268
/// Struct containing the buffers of actions to be executed at this step.

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_16_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
22+
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_17_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
2323
/// </remarks>
2424
[RequireComponent(typeof(Agent))]
2525
[AddComponentMenu("ML Agents/Demonstration Recorder", (int)MenuGroup.Default)]

docs/Installation-Anaconda-Windows.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ commands in an Anaconda Prompt _(if you open a new prompt, be sure to activate
123123
the ml-agents Conda environment by typing `activate ml-agents`)_:
124124

125125
```sh
126-
git clone --branch release_16 https://github.com/Unity-Technologies/ml-agents.git
126+
git clone --branch release_17 https://github.com/Unity-Technologies/ml-agents.git
127127
```
128128

129-
The `--branch release_16` option will switch to the tag of the latest stable
129+
The `--branch release_17` option will switch to the tag of the latest stable
130130
release. Omitting that will get the `main` branch which is potentially
131131
unstable.
132132

@@ -151,7 +151,7 @@ config files in this directory when running `mlagents-learn`. Make sure you are
151151
connected to the Internet and then type in the Anaconda Prompt:
152152

153153
```console
154-
python -m pip install mlagents==0.25.1
154+
python -m pip install mlagents==0.26.0
155155
```
156156

157157
This will complete the installation of all the required Python packages to run
@@ -162,7 +162,7 @@ pip will get stuck when trying to read the cache of the package. If you see
162162
this, you can try:
163163

164164
```console
165-
python -m pip install mlagents==0.25.1 --no-cache-dir
165+
python -m pip install mlagents==0.26.0 --no-cache-dir
166166
```
167167

168168
This `--no-cache-dir` tells the pip to disable the cache.

docs/Installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ of our tutorials / guides assume you have access to our example environments).
6464
the repository if you would like to explore more examples.
6565

6666
```sh
67-
git clone --branch release_16 https://github.com/Unity-Technologies/ml-agents.git
67+
git clone --branch release_17 https://github.com/Unity-Technologies/ml-agents.git
6868
```
6969

70-
The `--branch release_16` option will switch to the tag of the latest stable
70+
The `--branch release_17` option will switch to the tag of the latest stable
7171
release. Omitting that will get the `main` branch which is potentially unstable.
7272

7373
#### Advanced: Local Installation for Development
7474

7575
You will need to clone the repository if you plan to modify or extend the
7676
ML-Agents Toolkit for your purposes. If you plan to contribute those changes
77-
back, make sure to clone the `main` branch (by omitting `--branch release_16`
77+
back, make sure to clone the `main` branch (by omitting `--branch release_17`
7878
from the command above). See our
7979
[Contributions Guidelines](../com.unity.ml-agents/CONTRIBUTING.md) for more
8080
information on contributing to the ML-Agents Toolkit.
@@ -155,7 +155,7 @@ To install the `mlagents` Python package, activate your virtual environment and
155155
run from the command line:
156156

157157
```sh
158-
python -m pip install mlagents==0.25.1
158+
python -m pip install mlagents==0.26.0
159159
```
160160

161161
Note that this will install `mlagents` from PyPi, _not_ from the cloned

0 commit comments

Comments
 (0)