MCPcopy Create free account

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

Functions576 in github.com/Robbyant/lingbot-world

Methodforward
x: A list of videos each with shape [C, T, H, W]. t: [B]. context: A list of tex
wan/modules/s2v/model_s2v.py:649
Methodforward
(self, x)
wan/modules/s2v/motioner.py:121
Methodforward
(self, x)
wan/modules/s2v/motioner.py:133
Methodforward
(self, x, seq_lens, grid_sizes, freqs)
wan/modules/s2v/motioner.py:162
Methodforward
(self, x, seq_lens, grid_sizes, freqs)
wan/modules/s2v/motioner.py:189
Methodforward
(self, x, seq_lens, grid_sizes, freqs)
wan/modules/s2v/motioner.py:247
Methodforward
( self, x, seq_lens, grid_sizes, freqs, )
wan/modules/s2v/motioner.py:364
Methodforward
x: A list of videos each with shape [C, T, H, W]. t: [B]. context: A list of text embeddings
wan/modules/s2v/motioner.py:494
Methodforward
(self, motion_latents, add_last_motion=2)
wan/modules/s2v/motioner.py:678
Methodforward
(self, features)
wan/modules/s2v/audio_utils.py:33
Methodforward
(self, x)
wan/modules/s2v/auxi_blocks.py:144
Methodforward
(self, x)
wan/modules/s2v/auxi_blocks.py:198
Functionfree_model
(model)
wan/distributed/fsdp.py:38
Methodfrom_dwpose
(dwpose_det_res, height, width)
wan/modules/animate/preprocess/pose2d_utils.py:199
Methodfrom_kps_body
(kps_body: np.ndarray, height: int, width: int)
wan/modules/animate/preprocess/pose2d_utils.py:119
Methodfrom_kps_face
(kps_face: np.ndarray, height: int, width: int)
wan/modules/animate/preprocess/pose2d_utils.py:106
Functiongen_face_motion_seq
(img, metas: List[AAPoseMeta], threshold=0.5, stick_width_norm=200)
wan/modules/animate/preprocess/human_visualization.py:250
Methodget_audio_embed_bucket
(self, audio_embed, stride=2,
wan/modules/s2v/audio_encoder.py:90
Methodget_audio_embed_bucket_fps
(self, audio_embed, fps=16,
wan/modules/s2v/audio_encoder.py:135
Methodget_bbox
(self, kp, kp_p, threshold=0.5)
wan/modules/animate/preprocess/pose2d_utils.py:67
Methodget_kps_body_with_p
(self, normalize=False)
wan/modules/animate/preprocess/pose2d_utils.py:98
Functionget_loraconfig
(transformer, rank=128, alpha=128, init_lora_weights="gaussian")
wan/modules/animate/animate_utils.py:7
Methodget_output_names
(self)
wan/modules/animate/preprocess/pose2d.py:49
Methodinit_state
Initialize a inference state.
wan/modules/animate/preprocess/video_predictor.py:20
Methodinit_weight
(self, conv)
wan/modules/vae2_2.py:170
Methodinit_weight
(self, conv)
wan/modules/vae2_1.py:161
Methodinit_weight2
(self, conv)
wan/modules/vae2_2.py:181
Methodinit_weight2
(self, conv)
wan/modules/vae2_1.py:173
Functioninit_weights
(m)
wan/modules/t5.py:25
Methodinit_weights
(self)
wan/modules/s2v/motioner.py:630
Methodis_valid
(self, kp, p, threshold)
wan/modules/animate/preprocess/pose2d_utils.py:60
Functionkeypoint_auc
Calculate the pose accuracy of PCK for each individual keypoint and the averaged accuracy across all keypoints for coordinates. Note:
wan/modules/animate/preprocess/pose2d_utils.py:534
Functionkeypoint_epe
Calculate the end-point error. Note: - batch_size: N - num_keypoints: K Args: pred (np.ndarray[N, K, 2]): Predicted
wan/modules/animate/preprocess/pose2d_utils.py:589
Functionkeypoint_nme
Calculate the normalized mean error (NME). Note: - batch_size: N - num_keypoints: K Args: pred (np.ndarray[N, K, 2])
wan/modules/animate/preprocess/pose2d_utils.py:566
Functionkeypoints_from_heatmaps3d
Get final keypoint predictions from 3d heatmaps and transform them back to the image. Note: - batch size: N - num keypoints:
wan/modules/animate/preprocess/pose2d_utils.py:941
Functionkeypoints_from_regression
Get final keypoint predictions from regression vectors and transform them back to the image. Note: - batch_size: N - num_keyp
wan/modules/animate/preprocess/pose2d_utils.py:757
Functionload_pose_metas_from_kp2ds_seq_list
(kp2ds_seq, width, height)
wan/modules/animate/preprocess/pose2d_utils.py:1111
Functionmasks_like
(tensor, zero=False, generator=None, p=0.2)
wan/utils/utils.py:172
Functionmultilabel_classification_accuracy
Get multi-label classification accuracy. Note: - batch size: N - label number: L Args: pred (np.ndarray[N, L, 2]): m
wan/modules/animate/preprocess/pose2d_utils.py:974
Methodndim
(self)
wan/modules/animate/animate_utils.py:71
Methodnoop_no_sync
()
wan/image2video.py:450
Methodnoop_no_sync
()
wan/image2video_fast.py:567
Methodpadding_resize2
kps will be changed inplace
wan/modules/animate/preprocess/pose2d_utils.py:241
Methodparam_groups
(self)
wan/modules/animate/clip.py:418
Functionpose_pck_accuracy
Calculate the pose accuracy of PCK for each individual keypoint and the averaged accuracy across all keypoints from heatmaps. Note: P
wan/modules/animate/preprocess/pose2d_utils.py:452
Methodpreprocess
(img, bbox=None, input_resolution=(256, 192), rescale=1.25, mask=None, **kwargs)
wan/modules/animate/preprocess/pose2d.py:324
Functionprocess_vision_info
( conversations: list[dict] | list[list[dict]], )
wan/utils/qwen_vl_utils.py:344
Methodqkv_fn
(x)
wan/modules/model_fast.py:106
Methodqkv_fn
(x)
wan/modules/model.py:138
Methodqkv_fn
(x)
wan/modules/animate/model_animate.py:67
Methodqkv_fn
(x)
wan/modules/s2v/model_s2v.py:162
Methodqkv_fn
(x)
wan/modules/s2v/motioner.py:166
Methodqkv_fn
(x)
wan/modules/s2v/motioner.py:194
Methodqkv_fn
(x)
wan/modules/s2v/motioner.py:253
Methodreparameterize
(self, mu, log_var)
wan/modules/vae2_2.py:840
Methodsample
(self, imgs, deterministic=False)
wan/modules/vae2_1.py:573
Functionsave_image
(tensor, save_file, nrow=8, normalize=True, value_range=(-1, 1))
wan/utils/utils.py:123
Methodsave_json
(self)
wan/modules/animate/preprocess/pose2d_utils.py:219
Methodscale
(self, sx, sy)
wan/modules/animate/preprocess/pose2d_utils.py:234
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Ar
wan/utils/fm_solvers.py:802
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
wan/utils/fm_solvers_unipc.py:743
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_index
wan/utils/fm_solvers.py:218
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
wan/utils/fm_solvers_unipc.py:151
Methodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
wan/utils/fm_solvers_unipc.py:162
Functionshard_model
( model, device_id, param_dtype=torch.bfloat16, reduce_dtype=torch.float32, buffer_dtype=t
wan/distributed/fsdp.py:11
Functionsp_attn_forward
(self, x, seq_lens, grid_sizes, freqs, dtype=torch.bfloat16)
wan/distributed/sequence_parallel.py:217
Functionsp_attn_forward_causal
r""" Sequence-parallel causal self-attention using Ulysses all-to-all. Input x is sequence-chunked (each GPU holds padded_seq_lens/world_size
wan/distributed/sequence_parallel.py:414
Functionsp_attn_forward_s2v
(self, x, seq_lens, grid_sizes,
wan/modules/s2v/model_s2v.py:97
Functionsp_dit_forward
x: A list of videos each with shape [C, T, H, W]. t: [B]. context: A list of text embeddings each with s
wan/distributed/sequence_parallel.py:98
Functionsp_dit_forward_causal
x: A list of videos each with shape [C, T, H, W]. t: [B]. context: A list of text embeddings
wan/distributed/sequence_parallel.py:249
Functionsplit_pose2d_kps_to_aa
Convert the 133 keypoints from pose2d to body and hands keypoints. Args: kp2ds (np.ndarray): [133, 2] Returns: List[np.ndarr
wan/modules/animate/preprocess/human_visualization.py:193
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
wan/utils/fm_solvers.py:204
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
wan/utils/fm_solvers_unipc.py:137
Functionstr2bool
Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: 'no', 'false', 'f', 'n', '0'
wan/utils/utils.py:145
Methodunpatchify
(self, x, grid_sizes)
wan/modules/s2v/motioner.py:620
Functionxlm_roberta_large
XLMRobertaLarge adapted from Huggingface.
wan/modules/animate/xlm_roberta.py:146
← previous501–576 of 576, ranked by callers