MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / put

Method put

demo_d2/predictor.py:187–189  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

185 atexit.register(self.shutdown)
186
187 def put(self, image):
188 self.put_idx += 1
189 self.task_queue.put((self.put_idx, image))
190
191 def get(self):
192 self.get_idx += 1 # the index needed for this request

Callers 4

__call__Method · 0.95
run_on_videoMethod · 0.45
runMethod · 0.45
shutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected