MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / save

Method save

utils/visualizer.py:302–308  ·  view source on GitHub ↗

Args: filepath (str): a string that contains the absolute path, including the file name, where the visualized image will be saved.

(self, filepath)

Source from the content-addressed store, hash-verified

300 self.ax.imshow(img, extent=(0, self.width, self.height, 0), interpolation="nearest")
301
302 def save(self, filepath):
303 """
304 Args:
305 filepath (str): a string that contains the absolute path, including the file name, where
306 the visualized image will be saved.
307 """
308 self.fig.savefig(filepath)
309
310 def get_image(self):
311 """

Callers 4

save_pretrainedMethod · 0.80
plot_multi_resultsFunction · 0.80
evaluateMethod · 0.80
processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected