Skip to content

Conversation

@liqyn
Copy link
Member

@liqyn liqyn commented Nov 21, 2025

Add submap VPR using DINO for CLIPPER pre-filtering

@liqyn liqyn requested a review from mbpeterson70 November 21, 2025 22:43
@liqyn
Copy link
Member Author

liqyn commented Nov 22, 2025

Manually checked submap descriptor param options, all still working

# run fastsam
masks = self._process_img(img, ignore_mask=ignore_mask, keep_mask=keep_mask)

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't feel really picky about whitespace, but we might as well delete these tabs while making other changes haha 🤷‍♂️

self.observations.append(Observation(t, pose, mask, mask_downsampled, ptcld))

return self.observations
return self.observations, frame_descriptor
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will break things downstream in roman_ros, so before we merge this PR, we should make updates there too.

roman/utils.py Outdated

import matplotlib.pyplot as plt
import numpy as np
import torch
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this gets used?

Copy link
Member Author

Choose a reason for hiding this comment

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

My bad, I had some L_p norm code here but i moved it directly into fastsam_wrapper

Copy link
Collaborator

@mbpeterson70 mbpeterson70 left a comment

Choose a reason for hiding this comment

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

Just commented a few minor things to change before this gets merged in! We should also make a plan for integrating this into the ros code

Copy link
Collaborator

@mbpeterson70 mbpeterson70 left a comment

Choose a reason for hiding this comment

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

@liqyn thanks for making those changes! This looks good to merge in now, but let's wait until we can merge relevant changes into roman ros before merging here. I think even just handling the fact that the fastsam wrapper outputs two things instead of one would be sufficient so that the two main branches remain compatible while we work in integrating the full image-based descriptor functionality into the ros version.

@mbpeterson70
Copy link
Collaborator

This should be good to merge in together with mit-acl/roman_ros#23 (review)!

@mbpeterson70 mbpeterson70 merged commit 21ccbc7 into main Dec 3, 2025
1 check passed
@mbpeterson70 mbpeterson70 deleted the feature/dino-gem-agg-descriptors branch December 3, 2025 17:54
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