From 04a9f8f1255363360cc7c9626b46b7d583c6d468 Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Mon, 19 May 2025 10:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=BB=E5=8A=A8=E5=AD=A6?= =?UTF-8?q?=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java index fc7288ee..0bbf41ad 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnInsServiceImpl.java @@ -295,8 +295,7 @@ public class ActiveLearnInsServiceImpl implements ActiveLearnInsService { String directoryPath = ins.getResultPath(); Map paramMap = JsonUtils.jsonToMap(ins.getParam()); Map dataMap = (Map) paramMap.get("data"); - String s = (String) dataMap.get("framework_type"); - switch ((String) JsonUtils.jsonToMap(ins.getParam()).get("framework_type")) { + switch ((String) dataMap.get("framework_type")) { case Constant.AL_PYTORCH: { ins.setResultPath(endpoint + "/" + directoryPath + "/final_checkpoint/final_model_weights.pth"); }