Skip to content

Update MaskPLS to bring it inline with the latest fvdb-core API changes#57

Merged
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:mask_pls_AP_update
Mar 5, 2026
Merged

Update MaskPLS to bring it inline with the latest fvdb-core API changes#57
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:mask_pls_AP_update

Conversation

@swahtz

@swahtz swahtz commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
@swahtz swahtz requested a review from Copilot March 5, 2026 09:15
@swahtz swahtz self-assigned this Mar 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the MaskPLS panoptic segmentation implementation to align with recent fvdb-core API changes by moving away from VDBTensor and adopting explicit GridBatch + JaggedTensor data flows.

Changes:

  • Refactor data collation/model inputs from vdbtensor to grid + features (JaggedTensor).
  • Update backbone/blocks to use ConvolutionPlan and return (JaggedTensor, GridBatch) tuples per feature level.
  • Adapt semantic loss/grid coordinate mapping APIs (world_to_voxel, etc.) and update the MaskPLS forward path accordingly.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
panoptic_segmentation/mask_pls/models/mask_pls/mask_model.py Updates forward path for (JaggedTensor, GridBatch) features and GRID-mode semantic head computation.
panoptic_segmentation/mask_pls/models/mask_pls/loss.py Replaces vdbtensor.grid.* usage with GridBatch APIs for GRID-mode target remapping.
panoptic_segmentation/mask_pls/models/mask_pls/blocks.py Refactors sparse conv/deconv/residual blocks to use ConvolutionPlan and explicit grids.
panoptic_segmentation/mask_pls/models/mask_pls/backbone.py Reworks encoder/decoder backbone to operate on JaggedTensor + GridBatch pairs and apply mask projection via plans.
panoptic_segmentation/mask_pls/data/collation.py Produces grid and features instead of a VDBTensor, using updated GridBatch constructors/mapping APIs.
panoptic_segmentation/mask_pls/maskpls_environment.yml Updates Python/PyTorch pins and removes the numpy<2 constraint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread panoptic_segmentation/mask_pls/models/mask_pls/mask_model.py
@swahtz swahtz merged commit 2dcdfdf into openvdb:main Mar 5, 2026
12 checks passed
@swahtz swahtz deleted the mask_pls_AP_update branch March 5, 2026 09:25
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