MCPcopy Create free account
hub / github.com/chenhaoxing/DiffusionInst / put

Method put

diffusioninst/predictor.py:192–194  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

190 atexit.register(self.shutdown)
191
192 def put(self, image):
193 self.put_idx += 1
194 self.task_queue.put((self.put_idx, image))
195
196 def get(self):
197 self.get_idx += 1 # the index needed for this request

Callers 4

__call__Method · 0.95
run_on_videoMethod · 0.80
runMethod · 0.80
shutdownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected