MCPcopy Create free account

hub / github.com/Robbyant/lingbot-world / functions

Functions576 in github.com/Robbyant/lingbot-world

↓ 1 callersMethodget_motion
(self, img)
wan/modules/animate/motion_encoder.py:302
↓ 1 callersFunctionget_norm_layer
Get the normalization layer. Args: norm_layer (str): The type of normalization layer. Returns: norm_layer (nn.Module):
wan/modules/animate/face_blocks.py:237
↓ 1 callersFunctionget_ratio_diff
(w, h)
wan/modules/animate/preprocess/utils.py:99
↓ 1 callersFunctionget_sample_indices
(original_fps, total_frames, target_fps,
wan/modules/s2v/audio_encoder.py:10
↓ 1 callersFunctionget_sampling_sigmas
(sampling_steps, shift)
wan/utils/fm_solvers.py:24
↓ 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 callersFunctionget_transform
Generate transformation matrix.
wan/modules/animate/preprocess/pose2d_utils.py:1004
↓ 1 callersFunctionget_video_reader_backend
()
wan/utils/qwen_vl_utils.py:261
↓ 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 callersFunctioninfer_frame_num_from_action_string
(action_string: str)
wan/utils/wasd_ijkl_to_c2ws.py:96
↓ 1 callersMethodinit_state_v2
Initialize a inference state.
wan/modules/animate/preprocess/video_predictor.py:90
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
wan/modules/model_fast.py:665
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
wan/modules/model.py:574
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
wan/modules/animate/model_animate.py:478
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
wan/modules/s2v/model_s2v.py:883
↓ 1 callersMethodinject_motion
(self, x, seq_lens, rope_embs,
wan/modules/s2v/model_s2v.py:560
↓ 1 callersFunctionis_decord_available
()
wan/utils/qwen_vl_utils.py:215
↓ 1 callersFunctionkeypoints_from_heatmaps
Get final keypoint predictions from heatmaps and transform them back to the image. Note: - batch size: N - num keypoints: K
wan/modules/animate/preprocess/pose2d_utils.py:790
↓ 1 callersFunctionlinear_interpolation
features: shape=[1, T, 512] input_fps: fps for audio, f_a output_fps: fps for video, f_m output_len: video length
wan/modules/s2v/audio_encoder.py:37
↓ 1 callersMethodload_from_kp2ds
input 133x3 numpy keypoints and output AAPoseMeta Args: kp2ds (List[np.ndarray]): _description_ width (int): _descrip
wan/modules/animate/preprocess/pose2d_utils.py:170
↓ 1 callersMethodload_from_meta
(self, meta, norm_body=True, norm_hand=False)
wan/modules/animate/preprocess/pose2d_utils.py:144
↓ 1 callersMethodload_images
Load images from various input types. Args: inputs (Union[str, np.ndarray, List[np.ndarray]]): Input can be file
wan/modules/animate/preprocess/pose2d.py:357
↓ 1 callersFunctionload_pose_metas_from_kp2ds_seq
(kp2ds_seq, width, height)
wan/modules/animate/preprocess/pose2d_utils.py:1137
↓ 1 callersFunctionload_video_frames
Load the video frames from a directory of JPEG files ("<frame_index>.jpg" format). The frames are resized to image_size x image_size and are
wan/modules/animate/preprocess/sam_utils.py:34
↓ 1 callersFunctionload_video_frames_v2
Load the video frames from a directory of JPEG files ("<frame_index>.jpg" format). The frames are resized to image_size x image_size and are
wan/modules/animate/preprocess/sam_utils.py:89
↓ 1 callersFunctionmain
()
examples/persistent_inference.py:95
↓ 1 callersFunctionmake_kernel
(k)
wan/modules/animate/motion_encoder.py:43
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The di
wan/utils/fm_solvers.py:488
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The dir
wan/utils/fm_solvers.py:598
↓ 1 callersMethodmultistep_uni_c_bh_update
One step for the UniC (B(h) version). Args: this_model_output (`torch.Tensor`): The model outputs at `x_
wan/utils/fm_solvers_unipc.py:488
↓ 1 callersMethodmultistep_uni_p_bh_update
One step for the UniP (B(h) version). Alternatively, `self.solver_p` is used if is specified. Args: model_output (`torch
wan/utils/fm_solvers_unipc.py:352
↓ 1 callersFunctionnormalize_action_string
Normalize commas and remove all whitespace from user input.
wan/utils/wasd_ijkl_to_c2ws.py:7
↓ 1 callersFunctionpad_frame_num_to_4n_plus_1
Return the smallest value >= frame_num that satisfies F = 4n + 1.
wan/utils/wasd_ijkl_to_c2ws.py:101
↓ 1 callersFunctionpad_freqs
(original_tensor, target_len)
wan/distributed/sequence_parallel.py:12
↓ 1 callersFunctionpatchify
(x, patch_size)
wan/modules/vae2_2.py:279
↓ 1 callersFunctionpos_interpolate
(pos, seq_len)
wan/modules/animate/clip.py:22
↓ 1 callersFunctionpost_dark_udp
DARK post-pocessing. Implemented by udp. Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased Data Processing for Human
wan/modules/animate/preprocess/pose2d_utils.py:651
↓ 1 callersMethodpostprocess
Performs post-processing on the model's output to extract bounding boxes, scores, and class IDs. Args: input_image (nump
wan/modules/animate/preprocess/pose2d.py:112
↓ 1 callersMethodpostprocess_threading
(self, outputs, shape_raw, person_results, i, single_person=True, **kwargs)
wan/modules/animate/preprocess/pose2d.py:283
↓ 1 callersMethodprewarm
Opt-in pre-warm. Run one dummy DiT forward at the same shape a subsequent generate() call will use, so CUDA kernels are autotuned, FSD
wan/image2video_fast.py:162
↓ 1 callersMethodprocess_motion
(self, motion_latents, drop_motion_frames=False)
wan/modules/s2v/model_s2v.py:454
↓ 1 callersMethodprocess_motion_frame_pack
(self, motion_latents, drop_motion_frames=
wan/modules/s2v/model_s2v.py:483
↓ 1 callersMethodprocess_motion_transformer_motioner
(self, motion_latents,
wan/modules/s2v/model_s2v.py:495
↓ 1 callersMethodprocess_results
(self, results, shape_raw, cat_id=[1], single_person=True)
wan/modules/animate/preprocess/pose2d.py:207
↓ 1 callersFunctionrand_name
(length=8, suffix='')
wan/utils/utils.py:17
↓ 1 callersFunctionread_img
(image, convert='RGB', check_exist=False)
wan/modules/animate/preprocess/pose2d_utils.py:19
↓ 1 callersMethodreparameterize
(self, mu, log_var)
wan/modules/vae2_1.py:568
↓ 1 callersFunctionrescale_shorten_skeleton
(ratio_list, src_length_list, dst_length_list)
wan/modules/animate/preprocess/retarget_pose.py:450
↓ 1 callersFunctionrescale_skeleton
(H, W, keypoints, bone_ratio_list)
wan/modules/animate/preprocess/retarget_pose.py:309
↓ 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 callersFunctionrotation_matrix_to_euler_angles_opencv
(R)
wan/utils/vis_utils.py:222
↓ 1 callersFunctionsample_indices
(N, stride, expand_ratio, c)
wan/modules/s2v/motioner.py:764
↓ 1 callersFunctionsegments_to_wasd_ijkl
Build (F,4) WASD and IJKL float arrays (0/1) from parsed segments.
wan/utils/wasd_ijkl_to_c2ws.py:64
↓ 1 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep DPMSolver.
wan/utils/fm_solvers.py:708
↓ 1 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
wan/utils/fm_solvers_unipc.py:657
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
wan/utils/fm_solvers.py:339
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
wan/utils/fm_solvers_unipc.py:278
↓ 1 callersFunctiontorch_dfs
(model: nn.Module, parent_name='root')
wan/modules/s2v/model_s2v.py:43
↓ 1 callersFunctionumt5_xxl
(**kwargs)
wan/modules/t5.py:454
↓ 1 callersFunctionunpatchify
(x, patch_size)
wan/modules/vae2_2.py:298
↓ 1 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
wan/modules/model_fast.py:640
↓ 1 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
wan/modules/animate/model_animate.py:453
↓ 1 callersMethodunpatchify
Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features, ea
wan/modules/s2v/model_s2v.py:858
↓ 1 callersFunctionupfirdn2d
(input, kernel, up=1, down=1, pad=(0, 0))
wan/modules/animate/motion_encoder.py:39
↓ 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 callersMethodvisual
(self, videos)
wan/modules/animate/clip.py:527
↓ 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
↓ 1 callersMethodzero_init_weights
(self)
wan/modules/s2v/model_s2v.py:440
Method__add__
(self, other)
wan/modules/animate/animate_utils.py:80
Method__call__
(self, sequence, **kwargs)
wan/modules/tokenizers.py:48
Method__call__
(self, texts, device)
wan/modules/t5.py:504
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__call__
(self, *args, **kwargs)
wan/modules/animate/preprocess/pose2d.py:45
Method__call__
Process input and estimate 2D keypoints. Args: inputs (Union[str, np.ndarray, List[np.ndarray]]): Input can be f
wan/modules/animate/preprocess/pose2d.py:396
Method__floordiv__
(self, other)
wan/modules/animate/animate_utils.py:98
Method__getitem__
(self, index)
wan/modules/animate/animate_utils.py:74
Method__init__
r""" Initializes the image-to-video generation model components. Args: config (EasyDict): Object containi
wan/image2video.py:46
Method__init__
r""" Initializes the image-to-video generation model components. Args: config (EasyDict): Object containi
wan/image2video_fast.py:39
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
wan/modules/tokenizers.py:38
Method__init__
(self, dim, eps=1e-6)
wan/modules/t5.py:53
Method__init__
(self, dim, dim_attn, num_heads, dropout=0.1)
wan/modules/t5.py:69
Method__init__
(self, dim, dim_ffn, dropout=0.1)
wan/modules/t5.py:123
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
wan/modules/t5.py:144
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
wan/modules/t5.py:178
Method__init__
(self, num_buckets, num_heads, bidirectional, max_dist=128)
wan/modules/t5.py:221
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
wan/modules/t5.py:267
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
wan/modules/t5.py:315
Method__init__
( self, text_len, dtype=torch.bfloat16, device=torch.cuda.current_device(),
wan/modules/t5.py:472
Method__init__
(self, *args, **kwargs)
wan/modules/vae2_2.py:21
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
wan/modules/vae2_2.py:46
Method__init__
(self, dim, mode)
wan/modules/vae2_2.py:72
Method__init__
(self, in_dim, out_dim, dropout=0.0)
wan/modules/vae2_2.py:194
Method__init__
(self, dim)
wan/modules/vae2_2.py:242
Method__init__
( self, in_channels, out_channels, factor_t, factor_s=1, )
wan/modules/vae2_2.py:317
Method__init__
(self, in_dim, out_dim, dropout, mult,
wan/modules/vae2_2.py:416
Method__init__
(self, in_dim, out_dim, dropout, mult,
wan/modules/vae2_2.py:456
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
wan/modules/vae2_2.py:501
← previousnext →201–300 of 576, ranked by callers