Skip to content

[skip benchmarks]Dissected pipeline#1057

Open
nantonzhang wants to merge 20 commits intomasterfrom
dissected_pipeline
Open

[skip benchmarks]Dissected pipeline#1057
nantonzhang wants to merge 20 commits intomasterfrom
dissected_pipeline

Conversation

@nantonzhang
Copy link
Copy Markdown
Collaborator

@nantonzhang nantonzhang commented Feb 18, 2026

Add a dissected pipeline for flexibility

  • After each step, a specific file format will be used for temporary output.
  • The modules are outdated compared to new ones in mater branch, we can bring them in later.
  • use run_pipeline.sh to run a demo

@nantonzhang nantonzhang marked this pull request as ready for review March 16, 2026 16:13
return metric_name.startswith("pose_auc_@")


def _convert_scalar_auc_metrics_to_percent(metrics: List[GtsfmMetric]) -> List[GtsfmMetric]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just update the AUC code to save it in percent, we dont need this.

metric_utils.compute_pose_auc_metric(
rotation_angular_errors, translation_angular_errors, save_dir=output_dirpath
)
pose_auc_metrics = metric_utils.compute_pose_auc_metric(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update this method to return percent values?

)


def _convert_scalar_auc_metrics_to_percent(metrics: List[GtsfmMetric]) -> List[GtsfmMetric]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate (but also unnecessary) function

)
parser.add_argument("--ckpt", type=str, default=None, help="Optional checkpoint path.")
parser.add_argument("--device", type=str, default="cuda", help="Device: cuda or cpu.")
parser.add_argument("--focal_length", type=float, default=None, help="Optional SIMPLE_PINHOLE focal length.")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed and what does it do?

parser.add_argument("--device", type=str, default="cuda", help="Device: cuda or cpu.")
parser.add_argument("--focal_length", type=float, default=None, help="Optional SIMPLE_PINHOLE focal length.")
parser.add_argument(
"--pixel_limit",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this interact with --max_resolution ?

default="vggt",
help="Tracker used for BA (vggt or vggsfm).",
)
parser.add_argument("--img_load_resolution", type=int, default=1024, help="Square load resolution for VGGT input.")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the same as vggt_fixed_resolution?

Comment thread pipeline/run_pipeline.sh
#!/usr/bin/env bash

set -euo pipefail
export HF_HOME=/nethome/xzhang979/nvme/cache
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not check that in

#!/usr/bin/env bash

set -euo pipefail
export HF_HOME=/nethome/xzhang979/nvme/cache
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here - remove personal paths?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants