MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / start

Method start

slowfast/visualization/demo_loader.py:335–348  ·  view source on GitHub ↗

Start threads to read and write frames.

(self)

Source from the content-addressed store, hash-verified

333 self.write_queue[task.id] = (True, task)
334
335 def start(self):
336 """
337 Start threads to read and write frames.
338 """
339 self.put_thread = threading.Thread(
340 target=self.put_fn, args=(), name="VidRead-Thread", daemon=True
341 )
342 self.put_thread.start()
343 self.get_thread = threading.Thread(
344 target=self.get_fn, args=(), name="VidDisplay-Thread", daemon=True
345 )
346 self.get_thread.start()
347
348 return self
349
350 def join(self):
351 self.get_thread.join()

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected