MCPcopy Index your code
hub / github.com/UX-Decoder/Semantic-SAM / predict_masks

Method predict_masks

tasks/interactive_predictor.py:110–112  ·  view source on GitHub ↗
(self, image_ori, image, point=None)

Source from the content-addressed store, hash-verified

108 return reses, [reses[i] for i in ids]
109
110 def predict_masks(self, image_ori, image, point=None):
111 masks, ious = self.predict(image_ori, image, point)
112 return self.process_multi_mask(masks, ious, image_ori)
113
114 @staticmethod
115 def remove_small_regions(

Callers 1

forwardMethod · 0.80

Calls 2

predictMethod · 0.95
process_multi_maskMethod · 0.95

Tested by

no test coverage detected