Machine learning

uetools.commands.editor.ml.build_command(args)[source]
class uetools.commands.editor.ml.StartupLog[source]
format(datetime=None, frame=None, category=None, verbosity=None, message=None)[source]

Creates column for each element of the log and print the message last.

Parameters:
  • datetime – Can be, UTC, local, seconds since start or time code (Frametime converted)

  • frame – GFrameCounter % 1000

  • category – log category

  • verbosity – log verbosity

  • message – log message

class uetools.commands.editor.ml.UnrealEngineProcess[source]
is_alive()[source]
interrupt()[source]
stop()[source]
join()[source]
class uetools.commands.editor.ml.ML[source]

Launch a game setup for machine learning

project

Name of the the target to build (UnrealPak, RTSGame, RTSGameEditor, etc…)

Type:

str

Examples

uecli editor ml GamekitDev NewProjectTest

# Launch your agent script that will connect and make the agents play the game
name: str = 'ml'
class Arguments[source]

Launch unreal engine with mladapter setup

map: str
project: str = None
resx: int = 320
resy: int = 240
fps: int = 20
windowed: bool = True
usefixedtimestep: bool = True
game: bool = True
unattended: bool = True
onethread: bool = False
reducethreadusage: bool = False
nosound: bool = False
nullrhi: bool = False
deterministic: bool = False
debug: bool = False
mladapterport: int = 8123
stdout: bool = True
fullstdoutlogoutput: bool = True
utf8output: bool = True
nosplash: bool = True
dry: bool = False
static execute(args)[source]

Execute the command

uetools.commands.editor.ml.unrealgame(args: Arguments)[source]
Parameters:

args (Arguments) –

uetools.commands.editor.ml.COMMANDS

alias of ML