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

[+] add save and load embedding methods in SamPredictor class #724

Open Kirscher opened 7 months ago

Kirscher commented 7 months ago

Added save and load functionality for image embeddings in SamPredictor class.

This pull request includes two new methods in the SamPredictor class: