Navigation
API > API/Plugins > API/Plugins/LearningTraining
This object allows you to launch the FSocketTrainer server as a subprocess, which is convenient when you want to train using it locally.
| Name | FSocketTrainerServerProcess |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningExternalTrainer.h |
| Include Path | #include "LearningExternalTrainer.h" |
Syntax
struct FSocketTrainerServerProcess
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSocketTrainerServerProcess
(
const FString& TaskName, |
Creates a training server as a subprocess | LearningExternalTrainer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Timeout | float | LearningExternalTrainer.h | ||
| TrainingProcess | FSubprocess | LearningExternalTrainer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubprocess * GetTrainingSubprocess() |
Get the training subprocess. | LearningExternalTrainer.h | |
bool IsRunning() |
Check if the server process is still running | LearningExternalTrainer.h | |
void Terminate() |
Terminate the server process | LearningExternalTrainer.h | |
bool Wait() |
Wait for the server process to end | LearningExternalTrainer.h |