Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsFlowMatchingTrain-
Description
Returns true if the trainer has failed to communicate with the external training process. This can be used in combination with RunTraining to avoid filling the logs with errors.
| Name | HasTrainingFailed |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsFlowMatchingTrainer.h |
| Include Path | #include "LearningAgentsFlowMatchingTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsFlowMatchingTrainer.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents")
bool HasTrainingFailed() const
True if the training has failed. Otherwise, false.