Mega-1.1 全链路路径归一化收尾(18 文件)
This commit is contained in:
@ -190,7 +190,7 @@ class Step9MlPredictPanel(QWidget):
|
||||
"""浏览模型母文件夹,自动扫描子目录中的 .joblib 文件"""
|
||||
default = self._get_default_work_dir()
|
||||
if default:
|
||||
default = os.path.join(default, "9_supervised_modeling")
|
||||
default = os.path.join(default, "9_ML_Prediction")
|
||||
dir_path = QFileDialog.getExistingDirectory(
|
||||
self,
|
||||
"选择模型母文件夹",
|
||||
@ -352,7 +352,7 @@ class Step9MlPredictPanel(QWidget):
|
||||
|
||||
# 3. 自动填充输出路径(机器学习预测目录)
|
||||
if self.work_dir:
|
||||
output_dir = os.path.join(self.work_dir, "11_ml_prediction")
|
||||
output_dir = os.path.join(self.work_dir, "9_ML_Prediction")
|
||||
os.makedirs(output_dir, exist_ok=True)
|
||||
existing_out = self.output_file.get_path()
|
||||
if not existing_out or not existing_out.strip():
|
||||
@ -375,7 +375,7 @@ class Step9MlPredictPanel(QWidget):
|
||||
"""浏览模型目录"""
|
||||
default = self._get_default_work_dir()
|
||||
if default:
|
||||
default = os.path.join(default, "9_supervised_modeling")
|
||||
default = os.path.join(default, "9_ML_Prediction")
|
||||
dir_path = QFileDialog.getExistingDirectory(self, "选择模型目录", default)
|
||||
if dir_path:
|
||||
self.models_dir_file.set_path(dir_path)
|
||||
|
||||
Reference in New Issue
Block a user