diff --git a/scripts/pre_decimate.py b/scripts/pre_decimate.py index 3f63148..2c643e4 100644 --- a/scripts/pre_decimate.py +++ b/scripts/pre_decimate.py @@ -58,6 +58,12 @@ def main() -> None: subprocess.run(["scp", str(ply_dec), f"{args.cosma_vm}:{remote_dir}/{dst}"], check=True) print(f"SCP done -> {args.cosma_vm}:{remote_dir}/{dst}", flush=True) + poses_src = frames_dir / "lingbot_poses.npz" + if poses_src.exists(): + poses_dst = f"job_{args.job_id}_poses.npz" + subprocess.run(["scp", str(poses_src), f"{args.cosma_vm}:{remote_dir}/{poses_dst}"], check=True) + print(f"SCP poses -> {args.cosma_vm}:{remote_dir}/{poses_dst}", flush=True) + if __name__ == "__main__": main()