From 392638b10a729deaea66941ff01343c10f5d86e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E6=BE=B3?= Date: Wed, 25 Dec 2024 14:17:52 +0800 Subject: [PATCH] =?UTF-8?q?python=E8=B0=83=E7=94=A8=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=A1=8C=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- odm_preprocess.py | 2 +- utils/command_runner.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ddfc592..98cbe9f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,6 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple ## TODO - 过滤算法需要更新 -- 快拼模式需要更新 - 合并obj影像需要更新 -- command_runner中rerun需要更新,参数继续试 +- command_runner中rerun需要更新 +- 任务队列 diff --git a/odm_preprocess.py b/odm_preprocess.py index d1643ff..a605208 100644 --- a/odm_preprocess.py +++ b/odm_preprocess.py @@ -298,7 +298,7 @@ class ImagePreprocessor: self.command_runner.run_grid_commands( grid_points, ) - # self.merge_tif(grid_points) + self.merge_tif(grid_points) except Exception as e: self.logger.error(f"处理过程中发生错误: {str(e)}", exc_info=True) raise diff --git a/utils/command_runner.py b/utils/command_runner.py index 939901c..c4cc39c 100644 --- a/utils/command_runner.py +++ b/utils/command_runner.py @@ -51,6 +51,7 @@ i else: command = base_command + "--rerun-all" + self.logger.info(f"运行命令: {command}") success, error_msg = self.monitor.run_odm_with_monitor( command, grid_dir, grid_idx)