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

Method __init__

tools/preprocess/ltx2.3_preprocess_data.py:163–170  ·  view source on GitHub ↗
(self, det_checkpoint_path: str, pose2d_checkpoint_path: str, device: str = "cuda")

Source from the content-addressed store, hash-verified

161
162class DWPosePipeline:
163 def __init__(self, det_checkpoint_path: str, pose2d_checkpoint_path: str, device: str = "cuda"):
164 self.detector = DWposeONNX(
165 det_onnx_path=det_checkpoint_path,
166 pose_onnx_path=pose2d_checkpoint_path,
167 device=device,
168 )
169 self.device = device
170 logger.info(f"DWPose-ONNX initialized on {device}")
171
172 def __call__(
173 self,

Callers

nothing calls this directly

Calls 2

DWposeONNXClass · 0.90
infoMethod · 0.80

Tested by

no test coverage detected