feat/training_260202 #128
@@ -26,10 +26,9 @@ public class TmpDatasetService {
|
|||||||
* @param uid 임시폴더 uuid
|
* @param uid 임시폴더 uuid
|
||||||
* @param type train, val, test
|
* @param type train, val, test
|
||||||
* @param links tif pull path
|
* @param links tif pull path
|
||||||
* @return
|
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public String buildTmpDatasetHardlink(String uid, String type, List<ModelTrainLinkDto> links)
|
public void buildTmpDatasetHardlink(String uid, String type, List<ModelTrainLinkDto> links)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
||||||
if (links == null || links.isEmpty()) {
|
if (links == null || links.isEmpty()) {
|
||||||
@@ -71,7 +70,6 @@ public class TmpDatasetService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
log.info("tmp dataset created: {}, hardlinksMade={}", tmp, hardlinksMade);
|
log.info("tmp dataset created: {}, hardlinksMade={}", tmp, hardlinksMade);
|
||||||
return uid;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private long link(Path tmp, String type, String part, String fullPath) throws IOException {
|
private long link(Path tmp, String type, String part, String fullPath) throws IOException {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ public class TrainJobWorker {
|
|||||||
evalReq.setTimeoutSeconds(null);
|
evalReq.setTimeoutSeconds(null);
|
||||||
evalReq.setDatasetFolder(datasetFolder);
|
evalReq.setDatasetFolder(datasetFolder);
|
||||||
evalReq.setOutputFolder(outputFolder);
|
evalReq.setOutputFolder(outputFolder);
|
||||||
|
log.info("[JOB] test epoch={}", epoch);
|
||||||
result = dockerTrainService.runEvalSync(evalReq, containerName);
|
result = dockerTrainService.runEvalSync(evalReq, containerName);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user