|
@@ -554,12 +554,12 @@ public class SceneNaturalService {
|
|
if (filePath.contains("/Scenarios")) {
|
|
if (filePath.contains("/Scenarios")) {
|
|
MI.setObjectName(filePath);
|
|
MI.setObjectName(filePath);
|
|
List<String> listScene = fileDownService.listDeepOne(MI).getInfo();
|
|
List<String> listScene = fileDownService.listDeepOne(MI).getInfo();
|
|
- log.info("共需要上传 " + listScene.size() + " 个自然驾驶场景");
|
|
|
|
|
|
+ log.info("共需要上传 {} 个自然驾驶场景", listScene.size());
|
|
String taskId = api.common.util.StringUtil.getRandomUUID();
|
|
String taskId = api.common.util.StringUtil.getRandomUUID();
|
|
SceneEvaluationComputeParam sceneComplexityEvaluationComputeParam = new SceneEvaluationComputeParam();
|
|
SceneEvaluationComputeParam sceneComplexityEvaluationComputeParam = new SceneEvaluationComputeParam();
|
|
sceneComplexityEvaluationComputeParam.setSceneEvaluationComputeSubParam(new ArrayList<>());
|
|
sceneComplexityEvaluationComputeParam.setSceneEvaluationComputeSubParam(new ArrayList<>());
|
|
HashSet<String> strings = new HashSet<>(listScene);
|
|
HashSet<String> strings = new HashSet<>(listScene);
|
|
- log.info("去重之后还剩 " + strings.size() + " 个自然驾驶场景");
|
|
|
|
|
|
+ log.info("去重之后还剩 {} 个自然驾驶场景", strings.size());
|
|
int addNumber = 0;
|
|
int addNumber = 0;
|
|
int updateNumber = 0;
|
|
int updateNumber = 0;
|
|
Map<String, String> checkFileName = new HashMap<>();
|
|
Map<String, String> checkFileName = new HashMap<>();
|
|
@@ -671,9 +671,9 @@ public class SceneNaturalService {
|
|
sceneNaturalPO.setXodrAddress(address);
|
|
sceneNaturalPO.setXodrAddress(address);
|
|
} else if (address.contains(".osgb")) {
|
|
} else if (address.contains(".osgb")) {
|
|
sceneNaturalPO.setOsgbAddress(address);
|
|
sceneNaturalPO.setOsgbAddress(address);
|
|
- } else if (address.contains("simulation.mp4")) {
|
|
|
|
- sceneNaturalPO.setVideoAddress(address);
|
|
|
|
} else if (address.contains(".mp4")) {
|
|
} else if (address.contains(".mp4")) {
|
|
|
|
+ // 20241015 修改,发现没有两个视频,其实两个路径相同
|
|
|
|
+ sceneNaturalPO.setVideoAddress(address);
|
|
sceneNaturalPO.setVideoPreview(address);
|
|
sceneNaturalPO.setVideoPreview(address);
|
|
}
|
|
}
|
|
}
|
|
}
|