From 67643d05ff8e052df550c5bc0547a738dbb9f238 Mon Sep 17 00:00:00 2001 From: Flag Date: Fri, 24 Apr 2026 08:07:55 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20dispatcher=20passe=20--save=5Fposes=20?= =?UTF-8?q?=C3=A0=20demo.py=20=E2=80=94=20g=C3=A9n=C3=A8re=20lingbot=5Fpos?= =?UTF-8?q?es.npz=20(Plan=202)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/dispatcher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dispatcher.py b/scripts/dispatcher.py index 249d71a..3986108 100644 --- a/scripts/dispatcher.py +++ b/scripts/dispatcher.py @@ -617,12 +617,13 @@ def do_reconstruct(job: sqlite3.Row, worker: dict, frames_dir: str) -> tuple[str else: window_size, overlap_size = 12, 3 marker = shlex.quote(frames_dir) + poses_path = f"{frames_dir}/lingbot_poses.npz" cmd = ( f"cd {shlex.quote(worker['lingbot_path'])} && source .venv/bin/activate && " f"setsid python3 demo.py --model_path {shlex.quote(ckpt)} " f"--image_folder {shlex.quote(frames_dir)} --port {port} " f"--stride {stride} --use_sdpa --mode windowed --window_size {window_size} --overlap_size {overlap_size} --offload_to_cpu " - f"--save_ply {shlex.quote(ply_path)} > {log} 2>&1 & " + f"--save_ply {shlex.quote(ply_path)} --save_poses {shlex.quote(poses_path)} --save_poses_fps 2.0 > {log} 2>&1 & " f"DEMO_PID=$!; " f"for i in $(seq 1 3600); do " f" if ! kill -0 $DEMO_PID 2>/dev/null; then wait $DEMO_PID; exit $?; fi; "