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&40;BlueprintCallable, Category&61;"LearningAgents"&41;
void BeginTraining
&40;
ULearningAgentsPolicy &42; InPolicy,
const ULearningAgentsRecording &42; Recording,
const FLearningAgentsImitationTrainerSettings & ImitationTrainerSettings,
const FLearningAgentsImitationTrainerTrainingSettings & ImitationTrainerTrainingSettings,
const FLearningAgentsTrainerPathSettings & ImitationTrainerPathSettings,
const bool bReinitializePolicyNetwork
&41;
Remarks
Begins the training process with the provided settings.
Parameters
| Name | Description |
|---|---|
| InPolicy | The policy to train. |
| 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. |
| bReinitializePolicyNetwork | If true, reinitialize the policy. Set this to false if your policy is pre-trained. |