monitor输出更新
This commit is contained in:
parent
a7eb5f5216
commit
28126bc3be
@ -246,7 +246,7 @@ class ImagePreprocessor:
|
||||
f"grid_{grid_idx + 1}",
|
||||
"project",
|
||||
"odm_orthophoto",
|
||||
"odm_orthophoto.tif"
|
||||
"odm_orthophoto.original.tif"
|
||||
)
|
||||
|
||||
# 检查TIF文件是否存在
|
||||
@ -318,8 +318,8 @@ class ImagePreprocessor:
|
||||
if __name__ == "__main__":
|
||||
# 创建配置
|
||||
config = PreprocessConfig(
|
||||
image_dir=r"G:\error_data\20241024100834\project\images",
|
||||
output_dir=r"G:\ODM_output\20241024100834",
|
||||
image_dir=r"G:\error_data\20241104140457\code\images",
|
||||
output_dir=r"G:\ODM_output\20241104140457",
|
||||
|
||||
cluster_eps=0.01,
|
||||
cluster_min_samples=5,
|
||||
|
@ -52,8 +52,8 @@ class ODMProcessMonitor:
|
||||
|
||||
# 检查执行结果
|
||||
if self._check_success(grid_dir):
|
||||
self.logger.info(f"网格 {grid_idx + 1} 处理成功")
|
||||
self.logger.info(stdout, stderr)
|
||||
self.logger.info(f"网格 {grid_idx + 1} 处理成功")
|
||||
return True, ""
|
||||
|
||||
return False, f"网格 {grid_idx + 1} 处理失败"
|
||||
|
Loading…
Reference in New Issue
Block a user