python调用命令行版本
This commit is contained in:
parent
451fdbdf32
commit
392638b10a
@ -11,6 +11,6 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- 过滤算法需要更新
|
- 过滤算法需要更新
|
||||||
- 快拼模式需要更新
|
|
||||||
- 合并obj影像需要更新
|
- 合并obj影像需要更新
|
||||||
- command_runner中rerun需要更新,参数继续试
|
- command_runner中rerun需要更新
|
||||||
|
- 任务队列
|
||||||
|
@ -298,7 +298,7 @@ class ImagePreprocessor:
|
|||||||
self.command_runner.run_grid_commands(
|
self.command_runner.run_grid_commands(
|
||||||
grid_points,
|
grid_points,
|
||||||
)
|
)
|
||||||
# self.merge_tif(grid_points)
|
self.merge_tif(grid_points)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(f"处理过程中发生错误: {str(e)}", exc_info=True)
|
self.logger.error(f"处理过程中发生错误: {str(e)}", exc_info=True)
|
||||||
raise
|
raise
|
||||||
|
@ -51,6 +51,7 @@ i
|
|||||||
else:
|
else:
|
||||||
command = base_command + "--rerun-all"
|
command = base_command + "--rerun-all"
|
||||||
|
|
||||||
|
self.logger.info(f"运行命令: {command}")
|
||||||
success, error_msg = self.monitor.run_odm_with_monitor(
|
success, error_msg = self.monitor.run_odm_with_monitor(
|
||||||
command, grid_dir, grid_idx)
|
command, grid_dir, grid_idx)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user