MCPcopy Create free account

hub / github.com/MotrixLab/ViMoGen / functions

Functions457 in github.com/MotrixLab/ViMoGen

↓ 1 callersFunction_t5
(name, encoder_only=False, decoder_only=False, return_tokenizer=False, tokeniz
models/transformer/wan/modules/t5.py:415
↓ 1 callersMethod_video_candidates
Return ordered candidate video file paths to probe.
mbench/__init__.py:98
↓ 1 callersMethodadd_noise
(self, original_samples, noise, timestep)
trainer/scheduler.py:208
↓ 1 callersFunctionapply_quality_gate
( meta_json: Path, quality_report: Path, *, device: str, jitter_threshold: float, max_
motion_gating/apply_quality_gate.py:260
↓ 1 callersFunctionassign_probability
(bucket_config, prob_dict)
datasets/bucket_config.py:91
↓ 1 callersMethodbucket_prepare
(self, )
datasets/multi_resolution_sampler.py:132
↓ 1 callersMethodbuild_full_dimension_list
Build the complete list of available evaluation dimensions Returns: List of available dimension names organized
mbench/__init__.py:38
↓ 1 callersMethodbuild_full_info_json
Build the full information JSON file for evaluation Args: evaluation_path: Path containing dimension folders wit
mbench/__init__.py:256
↓ 1 callersFunctioncalculate_angle
Calculate angle between two vectors.
mbench/motion_quality.py:47
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
models/transformer/wan/modules/tokenizers.py:24
↓ 1 callersFunctioncanonicalize_motion
(smpl_params, joints, set_floor=False)
motion_rep/retarget_motion.py:168
↓ 1 callersFunctioncompute_metrics_for_dimension
( samples: List[Tuple[int, Path]], dimension: str, compute_fn, device: str, )
motion_gating/apply_quality_gate.py:141
↓ 1 callersFunctioncompute_motion_quality_metrics
( samples: List[Tuple[int, Path]], device: str, )
motion_gating/apply_quality_gate.py:175
↓ 1 callersFunctioncompute_statistics
Compute mean and std from motion data using the full dataset.
scripts/prepare_training_data.py:24
↓ 1 callersFunctionconvert_and_render
( motion_path: Path, motion_id: str, output_dir: Path, smplx_model_dir: Path, *, devic
motion_gating/mbench_render.py:197
↓ 1 callersFunctionconvert_hmr_to_motion
Convert HMR SMPL output to our 276-dim motion representation. Args: hmr_data: dict containing SMPL params and optionally camera
motion_rep/convert_hmr_to_motion.py:25
↓ 1 callersFunctionconvert_motion_to_joints
Convert 276-dim motion representation to 3D joints for MBench evaluation. Args: motion_tensor: Shape (frames, 276) raw motion re
scripts/organize_mbench_results.py:66
↓ 1 callersFunctionconvert_state_dict_keys_to_single_str
(state_dict, with_shape=True)
models/transformer/utils.py:210
↓ 1 callersFunctionconvert_state_dict_keys_to_single_str
(state_dict, with_shape=True)
models/transformer/wan/modules/utils.py:210
↓ 1 callersFunctioncount_num_layers
()
models/transformer/utils.py:156
↓ 1 callersFunctioncount_num_layers
()
models/transformer/wan/modules/utils.py:156
↓ 1 callersFunctioncount_trainable_parameters
(named_parameters)
models/transformer/utils.py:91
↓ 1 callersFunctioncreate_ref_motion
Apply a mild corruption procedure that mimics the noise patterns observed in vision-based motion capture (small jitter, occasional temporal f
utils.py:62
↓ 1 callersFunctiondecide_quality
( motion_metrics: Dict[int, Dict[str, float]], vlm_results: Dict[int, Dict[str, Any]], jitter_thre
motion_gating/apply_quality_gate.py:246
↓ 1 callersFunctiondo_nothing
(*args, **kwargs)
parallel/utils.py:11
↓ 1 callersFunctionffmpeg_command
(path: str, pix_fmt: str)
motion_rep/motion_checker.py:348
↓ 1 callersFunctionfind_common_intervals
Find common intervals between two sets of intervals.
mbench/motion_quality.py:37
↓ 1 callersFunctionfind_motion_file
Find the motion .pt file in a folder, prioritizing motion-conditioned results.
scripts/organize_mbench_results.py:92
↓ 1 callersFunctionfind_repo_root
(meta_path: Path)
motion_gating/apply_quality_gate.py:111
↓ 1 callersFunctionflash_attention
q: [B, Lq, Nq, C1]. k: [B, Lk, Nk, C1]. v: [B, Lk, Nk, C2]. Nq must be divisible by Nk. q_lens
models/transformer/wan/modules/attention.py:24
↓ 1 callersMethodforward
(self, x, e)
models/transformer/wan/modules/tm2m_model.py:513
↓ 1 callersMethodforward
(self, x, e)
models/transformer/wan/modules/t2m_model.py:471
↓ 1 callersMethodfrom_class_name
(cls, class_name, class_kwargs: dict)
datasets/bucket_config.py:216
↓ 1 callersFunctiongaussian_kernel
(kernel_size: int, sigma: float)
utils.py:137
↓ 1 callersFunctiongenerate_pipe
Generate predictions during validation with Advanced Classifier-Free Guidance.
train_eval_vimogen.py:279
↓ 1 callersFunctionget_R_T
Compute simple camera rotation/translation from joints.
motion_rep/motion_checker.py:62
↓ 1 callersFunctionget_ar
(ratio)
datasets/aspect.py:20
↓ 1 callersFunctionget_bucket_config_from_side_list_and_ar_list
( side_list: tuple, ar_value_arr: list, ar_max: float = 2.0, ar_min: float = 0.5, pixel_ma
datasets/bucket_config.py:37
↓ 1 callersFunctionget_closest_ratio
(height: float, width: float, ratios: dict)
datasets/aspect.py:439
↓ 1 callersFunctionget_default_ar_list
()
datasets/bucket_config.py:85
↓ 1 callersMethodget_fsdp_wrap_module_list
(self, )
models/transformer/wan/modules/t2m_model.py:599
↓ 1 callersFunctionget_h_w
(a, ts, eps=1e-4)
datasets/aspect.py:5
↓ 1 callersFunctionget_nodes
()
parallel/utils.py:52
↓ 1 callersMethodget_num_batch
(self)
datasets/sampler.py:241
↓ 1 callersFunctionget_num_pixels
(name)
datasets/aspect.py:463
↓ 1 callersFunctionget_opt_params
()
train_eval_vimogen.py:176
↓ 1 callersMethodget_ori_size_list
(self, )
datasets/multi_resolution_sampler.py:126
↓ 1 callersFunctionget_pixel_range_prob_dict
(pixel_num_list: list, pixel_prob_list: list)
datasets/bucket_config.py:24
↓ 1 callersFunctionget_range
Get contact range from contact info. Args: contact (torch.Tensor): contact information (frames, 2). contact_state (bool, optional
mbench/motion_quality.py:72
↓ 1 callersMethodget_resume_path_and_step
( self, auto_resume, resume_path, )
trainer/base_trainer.py:85
↓ 1 callersFunctionget_seed_worker
(seed)
datasets/dataloader.py:16
↓ 1 callersFunctionget_smpl_model
Load the SMPL model. :param gender: 'neutral', 'male', or 'female' :param model_path: Path to the SMPL model files :return: SMPL mode
mbench/pose_quality.py:23
↓ 1 callersMethodget_thw
(self, bucket_id)
datasets/bucket.py:130
↓ 1 callersFunctionget_transform_DART
Compute the translation and rotation to align the SMPL-X model output to the canonical coordinate frame. Args: joints (torch.Tensor)
motion_rep/retarget_motion.py:99
↓ 1 callersFunctionget_transformer3d
( model_name: str, load_pretrain: bool, patch_size=2, in_channel=16, base_repo=None, s
models/transformer/__init__.py:8
↓ 1 callersFunctionget_video_properties
Extract width, height, and fps from video file.
motion_rep/motion_checker.py:50
↓ 1 callersFunctionget_world_size
()
parallel/utils.py:47
↓ 1 callersMethodinit_weights
(self)
models/transformer/wan/modules/tm2m_model.py:764
↓ 1 callersMethodinit_weights
(self)
models/transformer/wan/modules/t2m_model.py:684
↓ 1 callersFunctioninterpret_vlm_output
(raw_text: str)
motion_gating/vlm_utils.py:6
↓ 1 callersFunctionis_main_process
()
parallel/utils.py:7
↓ 1 callersFunctionlinear_lr_warmpup
(warmup_steps)
trainer/base_trainer.py:411
↓ 1 callersFunctionlist_motion_samples
( entries: List[Dict[str, Any]], meta_path: Path, eval_field: str )
motion_gating/apply_quality_gate.py:118
↓ 1 callersMethodload_ckpt_from_dir
(rank, load_save_dict: dict = None, model_for_opt: tuple
trainer/base_trainer.py:211
↓ 1 callersMethodload_model
(rank, model, path, lora=False, strict=True, logger=None)
trainer/base_trainer.py:108
↓ 1 callersFunctionload_motion_tensor
(path: Path)
motion_gating/mbench_render.py:39
↓ 1 callersFunctionload_motion_tensor
Load motion tensor from .pt or .npy file.
scripts/prepare_training_data.py:10
↓ 1 callersFunctionload_motion_tensor
Load and validate motion tensor from a .pt file.
scripts/organize_mbench_results.py:51
↓ 1 callersMethodload_optimizer
(model, optimizer, path)
trainer/base_trainer.py:139
↓ 1 callersFunctionload_safetensors_from_dir
(in_dir: str)
models/transformer/utils.py:119
↓ 1 callersFunctionload_safetensors_from_dir
(in_dir: str)
models/transformer/wan/modules/utils.py:119
↓ 1 callersFunctionload_smplx_model
Load SMPLX model with specified batch size.
motion_rep/convert_hmr_to_motion.py:12
↓ 1 callersMethodlogitnorm_sample_t
NOTE the returned t is in range [0, 1], before sending into transformer, you need to scale it by num_train_steps = 1000
trainer/sd3_scheduler.py:49
↓ 1 callersFunctionmain
(args)
train_eval_vimogen.py:51
↓ 1 callersFunctionmain
()
evaluate_mbench.py:57
↓ 1 callersFunctionmain
()
motion_gating/apply_quality_gate.py:323
↓ 1 callersFunctionmain
()
motion_gating/render_mbench_videos.py:128
↓ 1 callersFunctionmain
()
motion_rep/motion_checker.py:548
↓ 1 callersFunctionmain
()
motion_rep/convert_hmr_to_motion.py:104
↓ 1 callersFunctionmain
()
motion_rep/smplest_x_scripts/inference.py:87
↓ 1 callersFunctionmain
()
mbench/launch/evaluate.py:48
↓ 1 callersFunctionmain
()
scripts/prepare_training_data.py:64
↓ 1 callersFunctionmain
()
scripts/organize_mbench_results.py:112
↓ 1 callersFunctionmaybe_corrupt_ref_motion
Apply mild corruption to ref_motion using the shared utils routine.
utils.py:164
↓ 1 callersFunctionparse_args
Parse command line arguments
evaluate_mbench.py:9
↓ 1 callersFunctionparse_args
()
motion_gating/apply_quality_gate.py:36
↓ 1 callersFunctionparse_args
()
motion_gating/render_mbench_videos.py:18
↓ 1 callersFunctionparse_args
()
motion_rep/smplest_x_scripts/inference.py:21
↓ 1 callersFunctionparse_args
()
mbench/launch/evaluate.py:9
↓ 1 callersFunctionparse_args
()
scripts/organize_mbench_results.py:34
↓ 1 callersFunctionprocess_hmr_motion
(hmr_motion, intrinsic, to_cpu=True, set_floor=False)
motion_rep/retarget_motion.py:186
↓ 1 callersFunctionpytorch3d_rasterize
Rasterize to obtain depth buffer.
motion_rep/motion_checker.py:124
↓ 1 callersFunctionquaternion_to_axis_angle
Convert 4d quaternion to 3d vector of axis-angle rotation. Shape: - Input: :Torch:`(..., 4)` - Output: :Torch:`(..., 3)`
motion_rep/rotation_transform.py:82
↓ 1 callersFunctionrandn_tensor
A helper function to create random tensors on the desired `device` with the desired `dtype`. When passing a list of generators, you can seed
models/transformer/utils.py:8
↓ 1 callersFunctionrender
(motions, outdir='test_vis', device_id=0, name=None, render_video=False)
mbench/render.py:48
↓ 1 callersFunctionrender_and_save
Render depth and save as video.
motion_rep/motion_checker.py:332
↓ 1 callersFunctionrender_and_save_overlay
Render depth and overlay on RGB video.
motion_rep/motion_checker.py:242
↓ 1 callersFunctionrender_depth_maps
Render depth maps for batched meshes. vertices: [batch_size, num_vertices, 3] faces: [batch_size, num_faces, 3]
motion_rep/motion_checker.py:156
↓ 1 callersMethodrender_motions_to_videos
Render motion files to intermediate files for evaluation Only renders each category once Args: evaluatio
mbench/__init__.py:147
↓ 1 callersFunctionrender_single_motion
( motion_file: Path, motion_id: Any, output_dir: Path, smplx_model_dir: Path, device: str,
motion_gating/render_mbench_videos.py:92
← previousnext →101–200 of 457, ranked by callers