Skip to main content

Unity Machine Learning Agents

Project description

Unity ML-Agents Trainers

The mlagents Python package is part of the ML-Agents Toolkit. mlagents provides a set of reinforcement and imitation learning algorithms designed to be used with Unity environments. The algorithms interface with the Python API provided by the mlagents_envs package. See here for more information on mlagents_envs.

The algorithms can be accessed using the: mlagents-learn access point. See here for more information on using this package.

Installation

Install the mlagents package with:

pip3 install mlagents

Usage & More Information

For more information on the ML-Agents Toolkit and how to instrument a Unity scene with the ML-Agents SDK, check out the main ML-Agents Toolkit documentation.

Limitations

  • mlagents does not yet explicitly support multi-agent scenarios so training cooperative behavior among different agents is not stable.
  • Resuming self-play from a checkpoint resets the reported ELO to the default value.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlagents-0.23.0.tar.gz (152.4 kB view hashes)

Uploaded Source

Built Distribution

mlagents-0.23.0-py3-none-any.whl (199.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page