Mega-1.1 全链路路径归一化收尾(18 文件)
This commit is contained in:
@ -608,7 +608,7 @@ class ImageCategoryTree(QTreeWidget):
|
||||
DIR_MAPPING = {
|
||||
"14_visualization": "统计与分析报表",
|
||||
"1_water_mask": "水域掩膜识别",
|
||||
"2_glint": "耀斑区域检测",
|
||||
"2_Glint_Detection": "耀斑区域检测",
|
||||
"3_deglint": "去耀斑影像结果",
|
||||
"5_training_spectra": "训练光谱特征",
|
||||
"8_Regression_Modeling": "回归建模分析",
|
||||
@ -618,7 +618,7 @@ class ImageCategoryTree(QTreeWidget):
|
||||
"glint_deglint_previews": "耀斑处理预览",
|
||||
"sampling_maps": "采样点空间分布",
|
||||
"flight_maps": "无人机飞行轨迹",
|
||||
"Machine_Learning_Prediction": "机器学习预测",
|
||||
"9_ML_Prediction": "机器学习预测",
|
||||
"Non_Empirical_Prediction": "非经验模型预测",
|
||||
"Custom_Regression_Prediction": "自定义回归预测",
|
||||
"boxplot_dir": "水质参数箱线图",
|
||||
@ -822,7 +822,7 @@ class ImageCategoryTree(QTreeWidget):
|
||||
self._work_path / "8_Regression_Modeling",
|
||||
self._work_path / "10_feature_construction",
|
||||
self._work_path / "5_training_spectra",
|
||||
self._work_path / "2_glint",
|
||||
self._work_path / "2_Glint_Detection",
|
||||
self._work_path / "3_deglint",
|
||||
self._work_path / "1_water_mask",
|
||||
self._work_path / "9_water_quality_prediction",
|
||||
@ -1304,7 +1304,7 @@ class Step12VizPanel(QWidget):
|
||||
QMessageBox.warning(
|
||||
self,
|
||||
"警告",
|
||||
"未找到可处理的影像文件(2_glint/3_deglint 等)。",
|
||||
"未找到可处理的影像文件(2_Glint_Detection/3_deglint 等)。",
|
||||
)
|
||||
elif t == "sampling_map":
|
||||
map_path = payload.get("map_path")
|
||||
@ -1522,9 +1522,9 @@ class Step12VizPanel(QWidget):
|
||||
"""从全局配置自动推断并填入图像目录,然后自动加载目录内容。
|
||||
|
||||
推断优先级:
|
||||
1. {work_dir}/11_12_13_predictions/Machine_Learning_Prediction(机器学习预测)
|
||||
1. {work_dir}/9_ML_Prediction(机器学习预测)
|
||||
2. {work_dir}/11_12_13_predictions/Non_Empirical_Prediction(普通回归预测)
|
||||
3. {work_dir}/11_12_13_predictions/Custom_Regression_Prediction(自定义回归预测)
|
||||
3. {work_dir}/13_Custom_Regression/Custom_Regression_Prediction(自定义回归预测)
|
||||
4. {work_dir}/14_visualization(可视化目录)
|
||||
5. {work_dir}(工作目录根)
|
||||
"""
|
||||
@ -1540,9 +1540,9 @@ class Step12VizPanel(QWidget):
|
||||
|
||||
# 按优先级寻找存在的目录
|
||||
candidates = [
|
||||
pred_dir / "Machine_Learning_Prediction",
|
||||
work_path / "9_ML_Prediction",
|
||||
pred_dir / "Non_Empirical_Prediction",
|
||||
pred_dir / "Custom_Regression_Prediction",
|
||||
work_path / "13_Custom_Regression" / "Custom_Regression_Prediction",
|
||||
work_path / "14_visualization",
|
||||
work_path,
|
||||
]
|
||||
@ -1621,9 +1621,9 @@ class Step12VizPanel(QWidget):
|
||||
"""设置三个预测步骤的默认输出目录"""
|
||||
try:
|
||||
base_prediction_dir = work_path / "11_12_13_predictions"
|
||||
ml_dir = base_prediction_dir / "Machine_Learning_Prediction"
|
||||
ml_dir = work_path / "9_ML_Prediction"
|
||||
reg_dir = base_prediction_dir / "Regression_Model_Prediction"
|
||||
custom_dir = base_prediction_dir / "Custom_Regression_Prediction"
|
||||
custom_dir = work_path / "13_Custom_Regression" / "Custom_Regression_Prediction"
|
||||
ml_dir.mkdir(parents=True, exist_ok=True)
|
||||
reg_dir.mkdir(parents=True, exist_ok=True)
|
||||
custom_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user