Skip to content

Adjust visualization script to adjusted output format#83

Open
Peter9192 wants to merge 1 commit into
mainfrom
fix-visualize
Open

Adjust visualization script to adjusted output format#83
Peter9192 wants to merge 1 commit into
mainfrom
fix-visualize

Conversation

@Peter9192

@Peter9192 Peter9192 commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

This adjusts the SVSegmentation object to be compatible with the output structure from

segmentation = {
"image_path": image_path,
"masks": instance_masks,
"instances": instances,
}
save_dir = image_path.parent / "segmentations" / "dinosam"
save_dir.mkdir(parents=True, exist_ok=True)
save_path = save_dir / (image_path.stem + ".npz")

to try it out, re-install the package from this branch:

pip install git+https://github.com/Urban-M4/streetscapes.git@fix-visualize

@cantordust

Copy link
Copy Markdown
Member

@Peter9192 Do we still need this?

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