com.unity.ml-agents 1.8.0-preview

com.unity.ml-agents

Notes: processedReleased February 24, 2021

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2018.4

Package Dependencies

  • com.unity.barracuda (1.3.1-preview)
  • com.unity.modules.imageconversion (1.0.0)
  • com.unity.modules.jsonserialize (1.0.0)
  • com.unity.modules.physics (1.0.0)
  • com.unity.modules.physics2d (1.0.0)
  • com.unity.modules.unityanalytics (1.0.0)

🔧 Bug Fixes

  • #### com.unity.ml-agents (C#)
  • Fix a compile warning about using an obsolete enum in `GrpcExtensions.cs`. (#4812)
  • CameraSensor now logs an error if the GraphicsDevice is null. (#4880)
  • Removed unnecessary memory allocations in `ActuatorManager.UpdateActionArray()` (#4877)
  • Removed unnecessary memory allocations in `SensorShapeValidator.ValidateSensors()` (#4879)
  • Removed unnecessary memory allocations in `SideChannelManager.GetSideChannelMessage()` (#4886)
  • Removed several memory allocations that happened during inference. On a test scene, this
  • reduced the amount of memory allocated by approximately 25%. (#4887)
  • Removed several memory allocations that happened during inference with discrete actions. (#4922)
  • Properly catch permission errors when writing timer files. (#4921)
  • Unexpected exceptions during training initialization and shutdown are now logged. If you see
  • "noisy" logs, please let us know! (#4930, #4935)
  • #### ml-agents / ml-agents-envs / gym-unity (Python)
  • Fixed a bug that would cause an exception when `RunOptions` was deserialized via `pickle`. (#4842)
  • Fixed a bug that can cause a crash if a behavior can appear during training in multi-environment training. (#4872)
  • Fixed the computation of entropy for continuous actions. (#4869)
  • Fixed a bug that would cause `UnityEnvironment` to wait the full timeout
  • period and report a misleading error message if the executable crashed
  • without closing the connection. It now periodically checks the process status
  • while waiting for a connection, and raises a better error message if it crashes. (#4880)
  • Passing a `-logfile` option in the `--env-args` option to `mlagents-learn` is
  • no longer overwritten. (#4880)
  • The `load_weights` function was being called unnecessarily often in the Ghost Trainer leading to training slowdowns. (#4934)