Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsImitationTrainer
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsImitationTrainer.h |
| Include | #include "LearningAgentsImitationTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsImitationTrainer.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents",
Meta=(AutoCreateRefTerm="ImitationTrainerSettings,ImitationTrainerTrainingSettings,ImitationTrainerPathSettings"))
void RunTraining
(
const ULearningAgentsRecording * Recording,
const FLearningAgentsImitationTrainerSettings & ImitationTrainerSettings,
const FLearningAgentsImitationTrainerTrainingSettings & ImitationTrainerTrainingSettings,
const FLearningAgentsTrainerProcessSettings & ImitationTrainerPathSettings
)
Remarks
Convenience function that runs a basic training loop. If training has not been started, it will start it. On each following call to this function, it will call IterateTraining.
Parameters
| Name | Description |
|---|---|
| Recording | The data to train on. |
| ImitationTrainerSettings | The settings for this trainer. |
| ImitationTrainerTrainingSettings | The training settings for this network. |
| ImitationTrainerPathSettings | The path settings used by the imitation trainer. |