From 16bbafc8269ec6d8fd6fc4b4232cb9c9c78ece37 Mon Sep 17 00:00:00 2001 From: ll15074821352 <320844511@qq.com> Date: Thu, 15 Jun 2023 16:24:09 +0800 Subject: [PATCH] =?UTF-8?q?modelarts=20Core=E7=AB=AFapi=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=AE=AD=E7=BB=83=E4=BD=9C=E4=B8=9A=E5=A2=9E=E5=8A=A0=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E7=AE=97=E6=B3=95=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 6acb3cf13424cf9dc97ec5d8dc4884847c02c085 --- adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go index 5674d28b..05b711c0 100644 --- a/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go +++ b/adaptor/PCM-AI/PCM-MODELARTS/rpc/internal/logic/cronlogic.go @@ -75,8 +75,8 @@ func submitJob(infoList *pcmcoreclient.InfoListResp, submitJobLogic *CreateTrain Description: "This is a ModelArts Demo Job", }, Algorithm: &modelarts.Algorithms{ - SubscriptionId: "26a0d9a9-808a-43f4-9a06-c9ea6bdc53d2", - ItemVersionId: "2.0.0", + SubscriptionId: infoList.AiInfoList[index].SubscriptionId, + ItemVersionId: infoList.AiInfoList[index].ItemVersionId, //Command: infoList.AiInfoList[index].Command, //Engine: &modelarts.EngineCreateTraining{ // ImageUrl: infoList.AiInfoList[index].ImageUrl,