|
|
|
|
|
|
and this project adheres to |
|
|
|
[Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
## [Unreleased] |
|
|
|
### Major Changes |
|
|
|
### Minor Changes |
|
|
|
### Bug Fixes |
|
|
|
|
|
|
|
#### com.unity.ml-agents (C#) |
|
|
|
- The `--load` and `--train` command-line flags have been deprecated. Training |
|
|
|
now happens by default, and use `--resume` to resume training instead. (#3705) |
|
|
|
- The Jupyter notebooks have been removed from the repository. |
|
|
|
- Removed the multi-agent gym option from the gym wrapper. For multi-agent |
|
|
|
scenarios, use the [Low Level Python API](../docs/Python-API.md). |
|
|
|
- The low level Python API has changed. You can look at the document |
|
|
|
[Low Level Python API documentation](../docs/Python-API.md) for more |
|
|
|
information. If you use `mlagents-learn` for training, this should be a |
|
|
|
transparent change. |
|
|
|
- Added ability to start training (initialize model weights) from a previous run |
|
|
|
ID. (#3710) |
|
|
|
- The internal event `Academy.AgentSetStatus` was renamed to |
|
|
|
`Academy.AgentPreStep` and made public. |
|
|
|
- The offset logic was removed from DecisionRequester. |
|
|
|
|
|
|
communication between Unity and the Python process. |
|
|
|
- The obsolete `Agent` methods `GiveModel`, `Done`, `InitializeAgent`, |
|
|
|
`AgentAction` and `AgentReset` have been removed. |
|
|
|
- The GhostTrainer has been extended to support asymmetric games and the |
|
|
|
asymmetric example environment Strikers Vs. Goalie has been added. |
|
|
|
- The SideChannel API has changed (#3833, #3660) : |
|
|
|
- Introduced the `SideChannelManager` to register, unregister and access side |
|
|
|
channels. |
|
|
|
|
|
|
`Academy.Instance.StatsRecorder.Add(key, value)`(#3660) |
|
|
|
- CameraSensorComponent.m_Grayscale and RenderTextureSensorComponent.m_Grayscale |
|
|
|
were changed from `public` to `private` (#3808). |
|
|
|
- The `UnityEnv` class from the `gym-unity` package was renamed |
|
|
|
`UnityToGymWrapper` and no longer creates the `UnityEnvironment`. |
|
|
|
Instead, the `UnityEnvironment` must be passed as input to the |
|
|
|
constructor of `UnityToGymWrapper` |
|
|
|
#### ml-agents / ml-agents-envs / gym-unity (Python) |
|
|
|
- The `--load` and `--train` command-line flags have been deprecated. Training |
|
|
|
now happens by default, and use `--resume` to resume training instead. (#3705) |
|
|
|
- The Jupyter notebooks have been removed from the repository. |
|
|
|
- Removed the multi-agent gym option from the gym wrapper. For multi-agent |
|
|
|
scenarios, use the [Low Level Python API](../docs/Python-API.md). |
|
|
|
- The low level Python API has changed. You can look at the document |
|
|
|
[Low Level Python API documentation](../docs/Python-API.md) for more |
|
|
|
information. If you use `mlagents-learn` for training, this should be a |
|
|
|
transparent change. |
|
|
|
- Added ability to start training (initialize model weights) from a previous run |
|
|
|
ID. (#3710) |
|
|
|
- The GhostTrainer has been extended to support asymmetric games and the |
|
|
|
asymmetric example environment Strikers Vs. Goalie has been added. |
|
|
|
- The `UnityEnv` class from the `gym-unity` package was renamed |
|
|
|
`UnityToGymWrapper` and no longer creates the `UnityEnvironment`. |
|
|
|
Instead, the `UnityEnvironment` must be passed as input to the |
|
|
|
constructor of `UnityToGymWrapper` |
|
|
|
#### com.unity.ml-agents (C#) |
|
|
|
- `StackingSensor` was changed from `internal` visibility to `public` |
|
|
|
- Academy.InferenceSeed property was added. This is used to initialize the |
|
|
|
random number generator in ModelRunner, and is incremented for each ModelRunner. (#3823) |
|
|
|
- Updated Barracuda to 0.6.3-preview. |
|
|
|
- Added `Agent.GetObservations(), which returns a read-only view of the observations |
|
|
|
added in `CollectObservations()`. (#3825) |
|
|
|
- `WriteAdapter` was renamed to `ObservationWriter`. If you have a custom `ISensor` implementation, |
|
|
|
you will need to change the signature of its `Write()` method. (#3834) |
|
|
|
- `UnityRLCapabilities` was added to help inform users when RL features are mismatched between C# and Python packages. (#3831) |
|
|
|
#### ml-agents / ml-agents-envs / gym-unity (Python) |
|
|
|
- Format of console output has changed slightly and now matches the name of the |
|
|
|
model/summary directory. (#3630, #3616) |
|
|
|
- Renamed 'Generalization' feature to 'Environment Parameter Randomization'. |
|
|
|
|
|
|
specified, the behavior will depend on the `file_name` parameter. If it is |
|
|
|
`None`, 5004 (the editor port) will be used; otherwise 5005 (the base |
|
|
|
environment port) will be used. |
|
|
|
- Fixed an issue where exceptions from environments provided a returncode of 0. |
|
|
|
(#3680) |
|
|
|
- `StackingSensor` was changed from `internal` visibility to `public` |
|
|
|
- Academy.InferenceSeed property was added. This is used to initialize the |
|
|
|
random number generator in ModelRunner, and is incremented for each ModelRunner. (#3823) |
|
|
|
- Updated Barracuda to 0.6.3-preview. |
|
|
|
- Added `Agent.GetObservations(), which returns a read-only view of the observations |
|
|
|
added in `CollectObservations()`. (#3825) |
|
|
|
- `WriteAdapter` was renamed to `ObservationWriter`. If you have a custom `ISensor` implementation, |
|
|
|
you will need to change the signature of its `Write()` method. (#3834) |
|
|
|
- `UnityRLCapabilities` was added to help inform users when RL features are mismatched between C# and Python packages. (#3831) |
|
|
|
#### com.unity.ml-agents (C#) |
|
|
|
#### ml-agents / ml-agents-envs / gym-unity (Python) |
|
|
|
- Fixed an issue where exceptions from environments provided a returncode of 0. |
|
|
|
(#3680) |
|
|
|
|
|
|
|
|
|
|
|
## [0.15.1-preview] - 2020-03-30 |
|
|
|
|
|
|
|