Skip to content

@vincentpierre vincentpierre released this Nov 20, 2020

ML-Agents Release 10

Package Versions

NOTE: It is strongly recommended that you use packages from the same release together for the best experience.

Package Version
com.unity.ml-agents (C#) v1.6.0
ml-agents (Python) v0.22.0
ml-agents-envs (Python) v0.22.0
gym-unity (Python) v0.22.0
Communicator (C#/Python) v1.2.0

Major Features and Improvements

New Demo Environment

  • The Match3 environment was added to the Project, it uses the new utilities added in com.unity.ml-agents.extensions.

ml-agents / ml-agents-envs / gym-unity (Python)

  • PyTorch trainers are now the default. See the installation docs for more information on installing PyTorch. For the time being, TensorFlow is still available; you can use the TensorFlow backend by adding --tensorflow to the CLI, or adding framework: tensorflow in the configuration YAML. (#4517)

Bug Fixes and Minor Changes

com.unity.ml-agents / com.unity.ml-agents.extensions (C#)

  • The Barracuda dependency was upgraded to 1.1.2 (#4571)
  • Utilities were added to com.unity.ml-agents.extensions to make it easier to integrate with match-3 games. See the readme for more details. (#4515)
  • Agent.CollectObservations() and Agent.EndEpisode() will now throw an exception if they are called recursively (for example, if they call Agent.EndEpisode()). Previously, this would result in an infinite loop and cause the editor to hang. (#4573)

ml-agents / ml-agents-envs / gym-unity (Python)

  • The action_probs node is no longer listed as an output in TensorFlow models (#4613).
Assets 2

@dongruoping dongruoping released this Nov 3, 2020

ML-Agents Release 9

Package Versions

NOTE: It is strongly recommended that you use packages from the same release together for the best experience.

Package Version
com.unity.ml-agents (C#) v1.5.0
ml-agents (Python) v0.21.1
ml-agents-envs (Python) v0.21.1
gym-unity (Python) v0.21.1
Communicator (C#/Python) v1.2.0

Bug Fixes and Minor Changes

ml-agents (Python)

  • Fixed an issue where runs could not be resumed when using TensorFlow and Ghost Training. (#4593)
  • Capped cattrs version to 1.0.x. (#4613)
  • Capped PyTorch version to 1.6.x. (#4617)
Assets 2
Nov 3, 2020
Update release_9 versions (#4621)
Nov 3, 2020
Update release_9 versions (#4621)

@dongruoping dongruoping released this Oct 14, 2020

ML-Agents Release 8

Package Versions

NOTE: It is strongly recommended that you use packages from the same release together for the best experience.

Package Version
com.unity.ml-agents (C#) v1.5.0
ml-agents (Python) v0.21.0
ml-agents-envs (Python) v0.21.0
gym-unity (Python) v0.21.0
Communicator (C#/Python) v1.2.0

Major Features and Improvements

com.unity.ml-agents (C#)

  • Stacking for compressed observations is now supported. An additional setting option Observation Stacks is added to the sensor components that support compressed observations. A new class ISparseChannelSensor with an additional method GetCompressedChannelMapping()is added to generate a mapping of the channels in compressed data to the actual channel after decompression for the python side to decompress correctly. (#4476)

ml-agents (Python)

  • Added the Random Network Distillation (RND) intrinsic reward signal to the Pytorch trainers. To use RND, add a rnd section to the reward_signals section of your yaml configuration file. More information here. (#4473)
  • The Communication API was changed to 1.2.0 to indicate support for stacked compressed observation. A new entry compressed_channel_mapping is added to the proto to handle decompression correctly. Newer versions of the package that wish to make use of this will also need a compatible version of the Python trainers. (#4476)

Bug Fixes and Minor Changes

com.unity.ml-agents (C#)

  • Fixed a bug where accessing the Academy outside of play mode would cause the Academy to get stepped multiple times when in play mode. (#4532)

ml-agents (Python)

  • In the VisualFoodCollector scene, a vector flag representing the frozen state of the agent is added to the input observations in addition to the original first-person camera frame. The scene is able to train with the provided default config file. (#4511)
  • Added a new visual scene Visual3DBall in the 3DBall example. (#4513)
  • Added conversion to string for sampler classes to increase the verbosity of the curriculum lesson changes. The lesson updates would now output the sampler stats in addition to the lesson and parameter name to the console. (#4484)
  • Localized documentation in Russian is added. (#4529)

Acknowledgements

Thank you @SergeyMatrosov for your contributions to this release.

Assets 2
You can’t perform that action at this time.