MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / postprocess_threading

Method postprocess_threading

tools/preprocess/pose2d.py:280–284  ·  view source on GitHub ↗
(self, outputs, shape_raw, person_results, i, single_person=True, **kwargs)

Source from the content-addressed store, hash-verified

278 return None
279
280 def postprocess_threading(self, outputs, shape_raw, person_results, i, single_person=True, **kwargs):
281 result = self.postprocess(outputs[i], shape_raw[i], cat_id=self.cat_id)
282 result = self.process_results(result, shape_raw[i], cat_id=self.cat_id, single_person=single_person)
283 if result is not None and len(result) != 0:
284 person_results[i] = result
285
286 def forward(self, img, shape_raw, **kwargs):
287 """

Callers 1

forwardMethod · 0.95

Calls 2

postprocessMethod · 0.95
process_resultsMethod · 0.95

Tested by

no test coverage detected