Navigation
API > API/Plugins > API/Plugins/LearningTraining > API/Plugins/LearningTraining/FSharedMemoryImitationTrainer
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningImitationTrainer.h |
| Include | #include "LearningImitationTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Private/LearningImitationTrainer.cpp |
FSharedMemoryImitationTrainer
&40;
const FString & TaskName,
const FString & PythonExecutablePath,
const FString & SitePackagesPath,
const FString & PythonContentPath,
const FString & IntermediatePath,
const int32 MaxSampleNum,
const int32 ObservationDimNum,
const int32 ActionDimNum,
const FImitationTrainerTrainingSettings & TrainingSettings,
const FImitationTrainerNetworkSettings & NetworkSettings,
const EImitationTrainerFlags TrainerFlags,
const ESubprocessFlags TrainingProcessFlags,
const ELogSetting LogSettings
&41;
Remarks
Create a new imitation trainer sub-process
Parameters
| Name | Description |
|---|---|
| TaskName | Name of the training task - used to help identify the logs, snapshots, and other files generated by training |
| PythonExecutablePath | Path to the python executable used for training |
| SitePackagesPath | Path to the site-packages shipped with the PythonFoundationPackages plugin |
| PythonContentPath | Path to the Python Content folder provided by the Learning plugin |
| IntermediatePath | Path to the intermediate folder to write temporary files, logs, and snapshots to |
| MaxSampleNum | Maximum number of samples in the training data |
| ObservationDimNum | Number of dimensions in the observation vector |
| ActionDimNum | Number of dimensions in the action vector |
| TrainingSettings | Trainer Training settings |
| NetworkSettings | Trainer Network settings |
| TrainingProcessFlags | Training subprocess flags |
| LogSettings | Logging settings to use |