↓ 1 callersFunctionget_scaled_pose(canvas, src_canvas, keypoints, keypoints_hand, bone_ratio_list, delta_ground_x, delta_ground_y,
wan/modules/animate/preprocess/retarget_pose.py:159
↓ 1 callersFunctionijkl_onehot_to_direction Convert a single ijkl one-hot array to rotation direction string. Mapping: [1, 0, 0, 0] (i) -> 'up' [0, 1, 0, 0] (j) ->
wan/utils/vis_utils.py:307
↓ 1 callersMethodpostprocess_threading(self, outputs, shape_raw, person_results, i, single_person=True, **kwargs)
wan/modules/animate/preprocess/pose2d.py:283
↓ 1 callersFunctionretarget_pose(src_skeleton, dst_skeleton, all_src_skeleton, src_skeleton_edit, dst_skeleton_edit, threshold=0.4)
wan/modules/animate/preprocess/retarget_pose.py:571
↓ 1 callersFunctionretrieve_timesteps(
scheduler,
num_inference_steps=None,
device=None,
timesteps=None,
sigmas=None,
**kwa
wan/utils/fm_solvers.py:31
↓ 1 callersFunctionrotation_directions_to_onehot Convert rotation direction strings to one-hot encoded array. Mapping: 'up' (i) -> [1, 0, 0, 0] 'left' (j) -> [0, 1, 0, 0
wan/utils/vis_utils.py:376
↓ 1 callersFunctionupfirdn2d_native(input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1)
wan/modules/animate/motion_encoder.py:19
↓ 1 callersFunctionvisualize_wasd_and_rotation_ui(
frames: np.ndarray, # [f, h, w, 3], range [0, 1], RGB format
c2ws: np.ndarray=None,
wan/utils/vis_utils.py:325
↓ 1 callersFunctionwrite_to_poses(data_to_json, none_idx, dst_shape, bone_ratio_list, delta_ground_x, delta_ground_y, rescaled_src_ground_x, bo
wan/modules/animate/preprocess/retarget_pose.py:520
Method__call__(self, video_path, refer_image_path, output_path, resolution_area=[1280, 720], fps=30, iterations=3, k=7, w_le
wan/modules/animate/preprocess/process_pipepline.py:38
Method__init__(
self,
dim=128,
z_dim=4,
dim_mult=[1, 2, 4, 4],
num_res_blocks=2,
wan/modules/vae2_2.py:501