Skip to content

Commit 4dd9dc5

Browse files
awjulianiChris Elion
andauthored
Update versions and release strings (#4289)
Co-authored-by: Chris Elion <[email protected]>
1 parent 07e62ad commit 4dd9dc5

File tree

14 files changed

+38
-39
lines changed

14 files changed

+38
-39
lines changed

README.md

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

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

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

4949
## Releases & Documentation
5050

51-
**Our latest, stable release is `Release 4`. Click
52-
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md)
51+
**Our latest, stable release is `Release 5`. Click
52+
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_5_docs/docs/Readme.md)
5353
to get started with the latest release of ML-Agents.**
5454

5555
The table below lists all our releases, including our `master` branch which is
@@ -64,16 +64,14 @@ under active development and may be unstable. A few helpful guidelines:
6464
instructions specific to each release. Remember to always use the
6565
documentation that corresponds to the release version you're using.
6666

67-
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** |
68-
|:-------:|:------:|:-------------:|:-------:|:------------:|
6967
| **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) |
70-
| **Release 4** | **July 15, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_4)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_4.zip)** |
68+
| **Release 5** | **July 31, 2020** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_5)** | **[docs](https://github.com/Unity-Technologies/ml-agents/tree/release_5_docs/docs/Readme.md)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_5.zip)** |
69+
| **Release 4** | July 15, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_4) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_4.zip) |
7170
| **Release 3** | June 10, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_3) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_3.zip) |
7271
| **Release 2** | May 20, 2020 | [source](https://github.com/Unity-Technologies/ml-agents/tree/release_2) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_2.zip) |
7372
| **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/docs/Readme.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/release_1.zip) |
7473
| **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) |
7574
| **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) |
76-
| **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) |
7775

7876
## Citation
7977

com.unity.ml-agents/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ argument. (#4203)
4848
- `max_step` in the `TerminalStep` and `TerminalSteps` objects was renamed `interrupted`.
4949
- `beta` and `epsilon` in `PPO` are no longer decayed by default but follow the same schedule as learning rate. (#3940)
5050
- `get_behavior_names()` and `get_behavior_spec()` on UnityEnvironment were replaced by the `behavior_specs` property. (#3946)
51-
- The first version of the Unity Environment Registry (Experimental) has been released. More information [here](https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Unity-Environment-Registry.md)(#3967)
51+
- The first version of the Unity Environment Registry (Experimental) has been released. More information [here](https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Unity-Environment-Registry.md)(#3967)
5252
- `use_visual` and `allow_multiple_visual_obs` in the `UnityToGymWrapper` constructor
5353
were replaced by `allow_multiple_obs` which allows one or more visual observations and
5454
vector observations to be used simultaneously. (#3981) Thank you @shakenes !
5555
- Curriculum and Parameter Randomization configurations have been merged
5656
into the main training configuration file. Note that this means training
5757
configuration files are now environment-specific. (#3791)
5858
- The format for trainer configuration has changed, and the "default" behavior has been deprecated.
59-
See the [Migration Guide](https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Migrating.md) for more details. (#3936)
59+
See the [Migration Guide](https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Migrating.md) for more details. (#3936)
6060
- Training artifacts (trained models, summaries) are now found in the `results/`
6161
directory. (#3829)
6262
- When using Curriculum, the current lesson will resume if training is quit and resumed. As such,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ a number of ways to [connect with us] including our [ML-Agents Forum].
114114
[unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
115115
[unity inference engine]: https://docs.unity3d.com/Packages/com.unity.barracuda@latest/index.html
116116
[package manager documentation]: https://docs.unity3d.com/Manual/upm-ui-install.html
117-
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Installation.md
117+
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Installation.md
118118
[github repository]: https://github.com/Unity-Technologies/ml-agents
119119
[python package]: https://github.com/Unity-Technologies/ml-agents
120120
[execution order of event functions]: https://docs.unity3d.com/Manual/ExecutionOrder.html

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_4_docs/docs/
22+
* https://github.com/Unity-Technologies/ml-agents/tree/release_5_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_4_docs/" +
54+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_5_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
@@ -145,13 +145,13 @@ internal struct AgentAction
145145
/// [OnDisable()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDisable.html]
146146
/// [OnBeforeSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnBeforeSerialize.html
147147
/// [OnAfterSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnAfterSerialize.html
148-
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md
149-
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design.md
148+
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md
149+
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design.md
150150
/// [Unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
151-
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Readme.md
151+
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Readme.md
152152
///
153153
/// </remarks>
154-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/" +
154+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/" +
155155
"docs/Learning-Environment-Design-Agents.md")]
156156
[Serializable]
157157
[RequireComponent(typeof(BehaviorParameters))]
@@ -603,8 +603,8 @@ public int CompletedEpisodes
603603
/// for information about mixing reward signals from curiosity and Generative Adversarial
604604
/// Imitation Learning (GAIL) with rewards supplied through this method.
605605
///
606-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#rewards
607-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
606+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#rewards
607+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
608608
/// </remarks>
609609
/// <param name="reward">The new value of the reward.</param>
610610
public void SetReward(float reward)
@@ -633,8 +633,8 @@ public void SetReward(float reward)
633633
/// for information about mixing reward signals from curiosity and Generative Adversarial
634634
/// Imitation Learning (GAIL) with rewards supplied through this method.
635635
///
636-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#rewards
637-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
636+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#rewards
637+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
638638
///</remarks>
639639
/// <param name="increment">Incremental reward value.</param>
640640
public void AddReward(float increment)
@@ -790,8 +790,8 @@ public virtual void Initialize() {}
790790
/// implementing a simple heuristic function can aid in debugging agent actions and interactions
791791
/// with its environment.
792792
///
793-
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
794-
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#actions
793+
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
794+
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#actions
795795
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
796796
/// </remarks>
797797
/// <example>
@@ -996,7 +996,7 @@ void ResetSensors()
996996
/// For more information about observations, see [Observations and Sensors].
997997
///
998998
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
999-
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
999+
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
10001000
/// </remarks>
10011001
public virtual void CollectObservations(VectorSensor sensor)
10021002
{
@@ -1027,7 +1027,7 @@ public ReadOnlyCollection<float> GetObservations()
10271027
///
10281028
/// See [Agents - Actions] for more information on masking actions.
10291029
///
1030-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#actions
1030+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#actions
10311031
/// </remarks>
10321032
/// <seealso cref="OnActionReceived(float[])"/>
10331033
public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker)
@@ -1097,7 +1097,7 @@ public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker
10971097
///
10981098
/// For more information about implementing agent actions see [Agents - Actions].
10991099
///
1100-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Learning-Environment-Design-Agents.md#actions
1100+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_docs/docs/Learning-Environment-Design-Agents.md#actions
11011101
/// </remarks>
11021102
/// <param name="vectorAction">
11031103
/// 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_4_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
22+
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_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_4_docs/docs/Learning-Environment-Design-Agents.md#actions
43+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_5_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>

docs/Installation-Anaconda-Windows.md

Lines changed: 2 additions & 2 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_4 https://github.com/Unity-Technologies/ml-agents.git
126+
git clone --branch release_5 https://github.com/Unity-Technologies/ml-agents.git
127127
```
128128

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

docs/Installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ example environments and training configurations to experiment with them (some
5858
of our tutorials / guides assume you have access to our example environments).
5959

6060
```sh
61-
git clone --branch release_4 https://github.com/Unity-Technologies/ml-agents.git
61+
git clone --branch release_5 https://github.com/Unity-Technologies/ml-agents.git
6262
```
6363

64-
The `--branch release_4` option will switch to the tag of the latest stable
64+
The `--branch release_5` option will switch to the tag of the latest stable
6565
release. Omitting that will get the `master` branch which is potentially
6666
unstable.
6767

6868
#### Advanced: Local Installation for Development
6969

7070
You will need to clone the repository if you plan to modify or extend the
7171
ML-Agents Toolkit for your purposes. If you plan to contribute those changes
72-
back, make sure to clone the `master` branch (by omitting `--branch release_4`
72+
back, make sure to clone the `master` branch (by omitting `--branch release_5`
7373
from the command above). See our
7474
[Contributions Guidelines](../com.unity.ml-agents/CONTRIBUTING.md) for more
7575
information on contributing to the ML-Agents Toolkit.

docs/Training-on-Amazon-Web-Service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ After launching your EC2 instance using the ami and ssh into it:
6969
2. Clone the ML-Agents repo and install the required Python packages
7070

7171
```sh
72-
git clone --branch release_4 https://github.com/Unity-Technologies/ml-agents.git
72+
git clone --branch release_5 https://github.com/Unity-Technologies/ml-agents.git
7373
cd ml-agents/ml-agents/
7474
pip3 install -e .
7575
```

0 commit comments

Comments
 (0)