Merge pull request '추론 수정' (#110) from feat/infer_dev_260211 into develop
Reviewed-on: #110
This commit was merged in pull request #110.
This commit is contained in:
@@ -308,21 +308,28 @@ public class InferenceResultService {
|
||||
.filter(c -> mapSheetNums.contains(c.getMapSheetNum()))
|
||||
.toList();
|
||||
|
||||
// target도 교집합으로 줄이기
|
||||
List<MngListDto> filteredTargetMngList =
|
||||
targetMngList.stream()
|
||||
.filter(t -> t.getMapSheetNum() != null)
|
||||
.filter(t -> mapSheetNums.contains(t.getMapSheetNum()))
|
||||
.toList();
|
||||
|
||||
// 로그
|
||||
int targetOnlyExcluded = targetTotal - intersection;
|
||||
int compareOnly = compareTotalAfterFallback - intersection;
|
||||
|
||||
log.info(
|
||||
"""
|
||||
===== MapSheet Year Comparison =====
|
||||
target Total: {}
|
||||
compare Total(before fallback): {}
|
||||
compare Total(after fallback): {}
|
||||
Intersection: {}
|
||||
target Only (Excluded): {}
|
||||
compare Only: {}
|
||||
====================================
|
||||
""",
|
||||
===== MapSheet Year Comparison =====
|
||||
target Total: {}
|
||||
compare Total(before fallback): {}
|
||||
compare Total(after fallback): {}
|
||||
Intersection: {}
|
||||
target Only (Excluded): {}
|
||||
compare Only: {}
|
||||
====================================
|
||||
""",
|
||||
targetTotal,
|
||||
compareTotalBeforeFallback,
|
||||
compareTotalAfterFallback,
|
||||
@@ -357,7 +364,7 @@ public class InferenceResultService {
|
||||
GeoJsonValidator.validateWithRequested(targetScene.getFilePath(), mapSheetNums);
|
||||
|
||||
// 추론 실행
|
||||
return executeInference(req, targetMngList, mapSheetNums, compareScene, targetScene);
|
||||
return executeInference(req, filteredTargetMngList, mapSheetNums, compareScene, targetScene);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user