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

Method __init__

slowfast/visualization/async_predictor.py:242–252  ·  view source on GitHub ↗

Args: cfg (CfgNode): configs. Details can be found in slowfast/config/defaults.py async_vis (AsyncVis object): asynchronous visualizer.

(self, cfg, async_vis)

Source from the content-addressed store, hash-verified

240 """
241
242 def __init__(self, cfg, async_vis):
243 """
244 Args:
245 cfg (CfgNode): configs. Details can be found in
246 slowfast/config/defaults.py
247 async_vis (AsyncVis object): asynchronous visualizer.
248 """
249 self.model = AsycnActionPredictor(
250 cfg=cfg, result_queue=async_vis.task_queue
251 )
252 self.async_vis = async_vis
253
254 def put(self, task):
255 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected