// Token: 0x0600149B RID: 5275 RVA: 0x000766EC File Offset: 0x000748EC public void OnWorkCycleCheckpoint() { try { if (this.peopleRelevancePipeline == null) { PipelineContext pipelineContext; this.peopleRelevancePipeline = InferencePipelineUtil.CreateAndStartTrainingPipeline(base.DatabaseInfo.Guid.ToString(), this.DiagnosticsSession, "PeopleRelevancePipelineDefinition.xml", "PeopleRelevance", PeopleRelevanceAssistantType.InferencePipelineVersion, out pipelineContext); } this.DiagnosticsSession.Assert(this.peopleRelevancePipeline != null, "People Relevance Pipeline is null", new object[0]); if (this.peopleRelevancePipelineFeeder == null) { this.peopleRelevancePipelineFeeder = new PeopleRelevanceFeeder(this.peopleRelevancePipeline); } } catch (InvalidOperationException ex) { if (!(ex.InnerException is FileNotFoundException)) { throw; } this.DiagnosticsSession.LogDiagnosticsInfo(DiagnosticsLoggingTag.Failures, "PeopleRelevanceAssistant.OnWorkCycleCheckpoint: FAILED to create people relevance pipeline because definition file doesn't exist. Exception: {0}", new object[] { ex }); } }
// Token: 0x0600118B RID: 4491 RVA: 0x00066790 File Offset: 0x00064990 public void OnWorkCycleCheckpoint() { if (this.trainingPipeline == null) { this.trainingPipeline = InferencePipelineUtil.CreateAndStartTrainingPipeline(base.DatabaseInfo.Guid.ToString(), this.DiagnosticsSession, "InferenceTrainingPipelineDefinition.xml", "Training", InferenceTrainingAssistant.InferencePipelineVersion, out this.trainingPipelineContext); InferenceModel.GetInstance(this.trainingPipelineContext.GetProperty <string>(DocumentSchema.PipelineInstanceName)).Reset(); } this.DiagnosticsSession.Assert(this.trainingPipeline != null, "Training Pipeline is null", new object[0]); this.DiagnosticsSession.Assert(this.trainingPipelineContext != null, "Training Pipeline Context is null", new object[0]); if (this.trainingFeeder == null) { this.trainingFeeder = new InferenceTrainingFeeder(this.trainingPipeline, this.trainingPipelineContext, "InferenceTrainingAssistant", this.trainingStatusLogger, this.truthLabelsStatusLogger); } }