문제되는 하이퍼파라미터 주석처리

This commit is contained in:
2026-02-12 17:52:42 +09:00
parent 6a939118ff
commit 16e156b5b4
4 changed files with 9 additions and 10 deletions

View File

@@ -13,7 +13,6 @@ import com.kamco.cd.training.model.dto.ModelTrainMngDto.SearchReq;
import com.kamco.cd.training.postgres.core.HyperParamCoreService;
import com.kamco.cd.training.postgres.core.ModelTrainMngCoreService;
import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import java.util.UUID;
import lombok.RequiredArgsConstructor;
@@ -102,9 +101,9 @@ public class ModelTrainMngService {
try {
// 데이터셋 심볼링크 생성
Path path = tmpDatasetService.buildTmpDatasetSymlink(raw, uids);
String tmpUid = tmpDatasetService.buildTmpDatasetSymlink(raw, uids);
ModelTrainMngDto.UpdateReq updateReq = new ModelTrainMngDto.UpdateReq();
updateReq.setRequestPath(path.toString());
updateReq.setRequestPath(tmpUid);
modelTrainMngCoreService.updateModelMaster(modelId, updateReq);
} catch (IOException e) {
throw new RuntimeException(e);

View File

@@ -16,7 +16,7 @@ public class TmpDatasetService {
@Value("${train.docker.requestDir}")
private String requestDir;
public Path buildTmpDatasetSymlink(String uid, List<String> datasetUids) throws IOException {
public String buildTmpDatasetSymlink(String uid, List<String> datasetUids) throws IOException {
log.info("========== buildTmpDatasetSymlink START ==========");
log.info("uid={}", uid);
@@ -97,7 +97,7 @@ public class TmpDatasetService {
regularFiles,
symlinksMade);
return tmp;
return uid;
}
private static Path toPath(String p) {