|
|
|
@@ -26,10 +26,7 @@ import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.io.IOException; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
@Service |
|
|
|
public class ActiveLearnServiceImpl implements ActiveLearnService { |
|
|
|
@@ -150,8 +147,9 @@ public class ActiveLearnServiceImpl implements ActiveLearnService { |
|
|
|
activeLearnParamVo.setDataset(JsonUtils.jsonToMap(activeLearn.getDataset())); |
|
|
|
activeLearnParamVo.setModel(JsonUtils.jsonToMap(activeLearn.getModel())); |
|
|
|
activeLearnParamVo.setImage(JsonUtils.jsonToMap(activeLearn.getImage())); |
|
|
|
|
|
|
|
activeLearnParamVo.setExperimentInsId(String.valueOf(UUID.randomUUID())); |
|
|
|
String param = JsonUtils.getConvertParam(activeLearnParamVo); |
|
|
|
|
|
|
|
// 调argo转换接口 |
|
|
|
try { |
|
|
|
String convertRes = HttpUtils.sendPost(argoUrl + convertActiveLearn, param); |
|
|
|
|