Navigation
BlueprintAPI > BlueprintAPI/LearningAgents
Start and connect to a training sub-process which will communicate via sockets. Sockets have some overhead compared to shared memory but can work over networked connects. This provides no encryption so do not use on public internet if privacy is a concern.
This must be called on game thread!
If you wish to connect to an externally launched trainer (for debugging or scale-out reasons, etc.), you can use the following command-line options to override some settings: -LearningAgentsUseExternalTrainingProcess If present, spawning a sub-process will be skipped. -LearningAgentsIpAddress= This optional IP address will override the SocketSettings -LearningAgentsPort= This optional Port will override the SocketSettings
Target is Learning Agents Communicator Library
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| struct | Trainer Process Settings | Settings universal to all trainer processes. |
| struct | Socket Settings |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| struct | Return Value |