Functiondownload_dit_model(model_path_val, model_name, model_type_val, task_type_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:643
Functiondraw_aaface_by_meta(img, meta: AAPoseMeta, threshold=0.5, stick_width_norm=200, draw_hand=False, draw_head=True)
tools/preprocess/human_visualization.py:235
Methoddraw_aapose(self, img, threshold=0.5, stick_width_norm=200, draw_hand=True, draw_head=True)
tools/preprocess/pose2d_utils.py:221
Functiondraw_kp2ds(img, kp2ds, threshold=0, color=(255, 0, 0), skeleton=None, reverse=False)
tools/preprocess/human_visualization.py:895
Methodempty_aligned(
cls, shape: Tuple[int, ...], orig_shape: Tuple[int, ...] = None, dtype: torch.dtype = torch.float32,
lightx2v/utils/ggml_tensor.py:93
Methodencode(self, x, device, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:46
Methodencode(self, videos, device, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/video_encoders/hf/wan/vae_sf.py:319
Methodencode Encode video frames to latent space. Args: video_frames: Input video tensor [1, C, T, H, W] or [C, T, H, W] Retur
lightx2v/models/video_encoders/hf/ltx2/model.py:81