OV-PRS / README.md
yxyang35's picture
Release the OV-PRS inference checkpoints
e391a82 verified
|
Raw History Blame Contribute Delete
2.57 kB
metadata
license: cc-by-nc-4.0
base_model:
  - facebook/mask2former-swin-base-coco-panoptic
  - openai/clip-vit-large-patch14
datasets:
  - yxyang35/OV-PanoReferSeg
pipeline_tag: image-segmentation
tags:
  - panoramic-vision
  - referring-segmentation
  - open-vocabulary

OV-PRS

OV-PRS predicts a mask for a language-referred object in a single equirectangular panorama. This repository provides the components trained for the OV-PRS pipeline introduced in Robot Only Looks Once (ROLO).

Paper 路 Project page 路 Code 路 Benchmark

Checkpoints

Paper stage Code setting Files in this release
Stage 1. Spatial grounding TRAIN_STAGE=0 stage0/best/m2f_full_state.pt, stage0/best/prior_fusion.pt
Stage 2. Dual-path alignment TRAIN_STAGE=1 for mapper warm-up, then TRAIN_STAGE=2 stage2/best/mapper.pt, stage2/best/visual_projection.pt, and stage2/best/clip_vision/
Stage 3. Ranker training ov_prs.training.trainv1_stage3 ranker.pt

Keep the directory layout when downloading the checkpoint. SHA256SUMS records the checksums of the seven checkpoint files.

Use with ROLO

Set up the ROLO environment on a CUDA machine and download the PanoWorld-Hstar checkpoint separately. ROLO also loads the upstream Mask2Former and CLIP bases. See the installation instructions for dependency versions and the PanoWorld-Hstar key conversion.

hf download yxyang35/OV-PRS --local-dir checkpoints/ov-prs
python -m ov_prs.inference_pipeline --input panorama.jpg \
  --query "the red fire extinguisher" --checkpoint-dir checkpoints/ov-prs

Attribution and license

The OV-PRS release is distributed under CC BY-NC 4.0. It includes a fine-tuned derivative of Meta's Mask2Former Swin-B COCO panoptic checkpoint and a LoRA adapter for OpenAI's CLIP ViT-L/14. OV-PRS fine-tuning adapts the proposal and alignment components to panoramic referring segmentation and adds the fusion module, mapper, and ranker. For the upstream sources and their attribution, see the Mask2Former Model Zoo, the CLIP model card, and the PanoWorld-Hstar model card.