Skip to content

Commit 84d01e4

Browse files
awjulianiChris Elion
andauthored
Update version for release 4 (release branch) (#4210)
* Update versions for release 4 * Link validation file should ignore itself * Remove 'unreleased' section from changelog * Change to 0.18.0 for python versions * also update extensions package version Co-authored-by: Chris Elion <[email protected]>
1 parent 06a6f4f commit 84d01e4

File tree

18 files changed

+68
-61
lines changed

18 files changed

+68
-61
lines changed

README.md

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

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

@@ -49,7 +49,7 @@ descriptions of all these features.
4949
## Releases & Documentation
5050

5151
**Our latest, stable release is `Release 3`. Click
52-
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/docs/Readme.md)
52+
[here](https://github.com/Unity-Technologies/ml-agents/tree/release_4_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
@@ -67,7 +67,7 @@ under active development and may be unstable. A few helpful guidelines:
6767
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** |
6868
|:-------:|:------:|:-------------:|:-------:|:------------:|
6969
| **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 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)** |
70+
| **Release 3** | **June 10, 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)** |
7171
| **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) |
7272
| **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) |
7373
| **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) |
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "com.unity.ml-agents.extensions",
3-
"displayName":"ML Agents Extensions",
4-
"version": "0.0.1-preview",
5-
"unity": "2018.4",
6-
"description": "A source-only package for new features based on ML-Agents",
7-
"dependencies": {
8-
"com.unity.ml-agents": "1.1.0-preview"
9-
}
2+
"name": "com.unity.ml-agents.extensions",
3+
"displayName": "ML Agents Extensions",
4+
"version": "0.0.1-preview",
5+
"unity": "2018.4",
6+
"description": "A source-only package for new features based on ML-Agents",
7+
"dependencies": {
8+
"com.unity.ml-agents": "1.2.0-preview"
9+
}
1010
}

com.unity.ml-agents/CHANGELOG.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to
77
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9-
## [Unreleased]
10-
11-
### Major Changes
12-
13-
### Minor Changes
14-
15-
### Bug Fixes
16-
179
## [1.2.0-preview] - 2020-07-15
1810

1911
### Major Changes
@@ -56,15 +48,15 @@ argument. (#4203)
5648
- `max_step` in the `TerminalStep` and `TerminalSteps` objects was renamed `interrupted`.
5749
- `beta` and `epsilon` in `PPO` are no longer decayed by default but follow the same schedule as learning rate. (#3940)
5850
- `get_behavior_names()` and `get_behavior_spec()` on UnityEnvironment were replaced by the `behavior_specs` property. (#3946)
59-
- The first version of the Unity Environment Registry (Experimental) has been released. More information [here](https://github.com/Unity-Technologies/ml-agents/blob/release_3_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_4_docs/docs/Unity-Environment-Registry.md)(#3967)
6052
- `use_visual` and `allow_multiple_visual_obs` in the `UnityToGymWrapper` constructor
6153
were replaced by `allow_multiple_obs` which allows one or more visual observations and
6254
vector observations to be used simultaneously. (#3981) Thank you @shakenes !
6355
- Curriculum and Parameter Randomization configurations have been merged
6456
into the main training configuration file. Note that this means training
6557
configuration files are now environment-specific. (#3791)
6658
- The format for trainer configuration has changed, and the "default" behavior has been deprecated.
67-
See the [Migration Guide](https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Migrating.md) for more details. (#3936)
59+
See the [Migration Guide](https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Migrating.md) for more details. (#3936)
6860
- Training artifacts (trained models, summaries) are now found in the `results/`
6961
directory. (#3829)
7062
- 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_3_docs/docs/Installation.md
117+
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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: 3 additions & 3 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_3_docs/docs/
22+
* https://github.com/Unity-Technologies/ml-agents/tree/release_4_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_3_docs/" +
54+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_4_docs/" +
5555
"docs/Learning-Environment-Design.md")]
5656
public class Academy : IDisposable
5757
{
@@ -68,7 +68,7 @@ public class Academy : IDisposable
6868
/// Unity package version of com.unity.ml-agents.
6969
/// This must match the version string in package.json and is checked in a unit test.
7070
/// </summary>
71-
internal const string k_PackageVersion = "1.1.0-preview";
71+
internal const string k_PackageVersion = "1.2.0-preview";
7272

7373
const int k_EditorTrainingPort = 5004;
7474

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_3_docs/docs/Learning-Environment-Design-Agents.md
149-
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design.md
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
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_3_docs/docs/Readme.md
151+
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_docs/docs/Readme.md
152152
///
153153
/// </remarks>
154-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/" +
154+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_4_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_3_docs/docs/Learning-Environment-Design-Agents.md#rewards
607-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
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
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_3_docs/docs/Learning-Environment-Design-Agents.md#rewards
637-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
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
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_3_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
794-
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#actions
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
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_3_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
999+
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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_3_docs/docs/Learning-Environment-Design-Agents.md#actions
1030+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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_3_docs/docs/Learning-Environment-Design-Agents.md#actions
1100+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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_3_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
22+
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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_3_docs/docs/Learning-Environment-Design-Agents.md#actions
43+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_4_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>

com.unity.ml-agents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.ml-agents",
33
"displayName": "ML Agents",
4-
"version": "1.1.0-preview",
4+
"version": "1.2.0-preview",
55
"unity": "2018.4",
66
"description": "Use state-of-the-art machine learning to create intelligent character behaviors in any Unity environment (games, robotics, film, etc.).",
77
"dependencies": {

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_3 https://github.com/Unity-Technologies/ml-agents.git
126+
git clone --branch release_4 https://github.com/Unity-Technologies/ml-agents.git
127127
```
128128

129-
The `--branch release_3` option will switch to the tag of the latest stable
129+
The `--branch release_4` 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

0 commit comments

Comments
 (0)