ylingfeng / FGVP

Official Codes for Fine-Grained Visual Prompting, NeurIPS 2023
33 stars 2 forks source link

how to use grid-wise keypoints to prompt SAM #2

Closed Tzx11 closed 4 months ago

Tzx11 commented 5 months ago

Hello,I'm interested in your work. I wonder how to use grid-wise keypoints to prompt SAM model? Looking forward to your reply.

ylingfeng commented 5 months ago

We appreciate your interest! To prompt the SAM model with grid-wise keypoints, you can follow the first script here, which is a simple demo for inferring one image with provided captions. Detailed parameter settings for grid-wise keypoints can be found in SAM.