facebookresearch / segment-anything

The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
47.87k stars 5.66k forks source link

How to sample 16 X 24 points on rectangle images #692

Open tyremmers opened 9 months ago

tyremmers commented 9 months ago

Hi, I have tride to set the point_grids parameter to better sample rectangle images but it doesn't seem to work. It porcess but I end up with no masks. Anyone has tried to sample rectangle images?