Skip to main content

Unreal Machine Learning Agents Interface based on Unity ML Agents

Project description

Unreal ML-Agents Python Interface

The ueagents_envs Python package is part of the Unreal ML-Agents Toolkit. ueagents_envs provides APIs that allow direct interaction with Unreal Engine.

Notice

This package is inspired by Unity's ML-Agents Toolkit. The primary differences are:

  • Protobuf import definitions were updated to align with Unreal conventions.
  • References to Unity have been replaced with Unreal to avoid confusion.

All credit for the foundational work goes to Unity's ML-Agents Toolkit team.

Installation

Install the ueagents_envs package with:

python -m pip install ueagents_envs

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

Limitations

  • ueagents_envs uses localhost ports to exchange data between Unreal and Python. As such, multiple instances can have their ports collide, leading to errors. Make sure to use a different port if you are using multiple instances of UnrealEnvironment.
  • Communication between Unreal and the Python UnrealEnvironment is not secure.
  • On Linux, ports are not released immediately after the communication closes. As such, you cannot reuse ports right after closing a UnrealEnvironment.

Credit

Unity ML Agents

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

ueagents_envs-1.0.0.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ueagents_envs-1.0.0-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file ueagents_envs-1.0.0.tar.gz.

File metadata

  • Download URL: ueagents_envs-1.0.0.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for ueagents_envs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d0061630868059b51facd07f2fed83ffd88a59206842f7ca6d5ae95e075c8238
MD5 529468c8714c483779d81b5a7e0e2da6
BLAKE2b-256 19727f94cc8c6439d4ea5526d8675ba60e4cb06f624dd2aaa768a82f3e8720f0

See more details on using hashes here.

File details

Details for the file ueagents_envs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ueagents_envs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for ueagents_envs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a109e2dcadfa3c528670d1320cbb25b34690c94ed6bd435477a7585d929d2400
MD5 4197e3eeed77f87d960d6b28fb6b6ab5
BLAKE2b-256 e3818da8f837ac724916b250c233ce3b147ee6073f6378fe95cc0c6e4373af99

See more details on using hashes here.

Supported by

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