developmentseed / segment-anything-services

Running segment-anything image embedding, prompting, and mask generation as torchserve services
Apache License 2.0
93 stars 10 forks source link

change payload to always take a list of points of 1 or more for all prompts, fix missing args to decode_single_point #43

Closed rbavery closed 3 weeks ago

rbavery commented 10 months ago

see the notebooks for the updated payload example. I tested multi_point and single point and both work after I fixed a missing import and missing args to decode_single_point.

cc @Rub21

rbavery commented 3 weeks ago

closing this in favor of the new https://github.com/GeoCompas/samgeo-service that powers https://github.com/developmentseed/ds-annotate/pull/32