Browse Source

实验模型手动导出

dev-lhz
chenzhihang 1 year ago
parent
commit
3f52c62de7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java

+ 2
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java View File

@@ -727,7 +727,8 @@ public class ModelsServiceImpl implements ModelsService {
String root_path = sourcePath.split("/")[1];
minioUtil.downloadFiles(bucketName, root_path, modelPath);

buildingModel = modelDependency1Dao.queryByTrainTask(JSON.toJSONString(modelsVo.getTrainTask()));
BeansUtils.copyPropertiesIgnoreNull(modelsVo, modelMetaVo);
buildingModel = modelDependency1Dao.queryByTrainTask(JSON.toJSONString(modelMetaVo));
} else {
dvcUtils.moveFiles(sourcePath, modelPath);



Loading…
Cancel
Save