|
|
|
@@ -61,7 +61,7 @@ public class ExperimentInstanceStatusTask { |
|
|
|
String taskId = (String) trainMetricRecord.get("task_id"); |
|
|
|
if (taskId.startsWith("model-train")) { |
|
|
|
String runId = (String) trainMetricRecord.get("run_id"); |
|
|
|
List<InsMetricInfoVo> expTrainInfos = aimService.getExpTrainInfos1(true, experimentIns.getExperimentId(), runId); |
|
|
|
List<InsMetricInfoVo> expTrainInfos = aimService.getExpInfos1(true, experimentIns.getExperimentId(), runId); |
|
|
|
for (InsMetricInfoVo expTrainInfo : expTrainInfos) { |
|
|
|
Map metrics = expTrainInfo.getMetrics(); |
|
|
|
trainMetricValue.putAll(metrics); |
|
|
|
@@ -75,7 +75,7 @@ public class ExperimentInstanceStatusTask { |
|
|
|
String taskId = (String) evaluateMetricRecord.get("task_id"); |
|
|
|
if (taskId.startsWith("model-evaluate")) { |
|
|
|
String runId = (String) evaluateMetricRecord.get("run_id"); |
|
|
|
List<InsMetricInfoVo> expTrainInfos = aimService.getExpTrainInfos1(false, experimentIns.getExperimentId(), runId); |
|
|
|
List<InsMetricInfoVo> expTrainInfos = aimService.getExpInfos1(false, experimentIns.getExperimentId(), runId); |
|
|
|
for (InsMetricInfoVo expTrainInfo : expTrainInfos) { |
|
|
|
Map metrics = expTrainInfo.getMetrics(); |
|
|
|
evaluateMetricValue.putAll(metrics); |
|
|
|
|