MCPcopy Create free account

hub / github.com/boundless-large-model/boundless-world-model / functions

Functions109 in github.com/boundless-large-model/boundless-world-model

↓ 9 callersFunction_check_is_instance
(vae_mod, module, module_class)
wan_video_action/models/wan_video_vae.py:7
↓ 5 callersFunctionalign_num_frames
( num_frames: int, time_division_factor: int = 4, time_division_remainder: int = 1, mode: str
wan_video_action/utils.py:63
↓ 5 callersFunctionresolve_path
(base_path: str, path: str)
wan_video_action/utils.py:11
↓ 2 callersMethod__init__
(self)
wan_video_action/pipelines/wan_video_action.py:290
↓ 2 callersMethod_frames_to_video_tensor
Convert a list of frames to (C, T, H, W) tensor.
wan_video_action/data/operators.py:232
↓ 2 callersFunction_scale_latents
(mu, scale, z_dim)
wan_video_action/models/wan_video_vae.py:14
↓ 2 callersFunction_unscale_latents
(z, scale, z_dim)
wan_video_action/models/wan_video_vae.py:22
↓ 2 callersMethod_wrap_frame_range_metadata
(self, data, payload)
wan_video_action/data/unified_dataset.py:76
↓ 2 callersFunctionadd_general_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:193
↓ 2 callersFunctionbuild_wan_video_action_pipeline
( torch_dtype: torch.dtype = torch.bfloat16, device: Union[str, torch.device] = get_device_type(),
wan_video_action/pipelines/wan_video_action.py:247
↓ 2 callersFunctioncreate_custom_forward
(module)
wan_video_action/pipelines/wan_video_action.py:467
↓ 2 callersFunctioncreate_video_operator
( base_path="", max_pixels=1920*1080, height=None, width=None, height_division_factor=16, width_di
wan_video_action/data/operators.py:496
↓ 2 callersMethodload_state_dict
(self, state_dict, strict: bool = True, assign: bool = False)
wan_video_action/models/wan_video_action_encoder.py:53
↓ 2 callersFunctionmerge_yaml_and_args
(yaml_path, parser, args)
wan_video_action/parsers.py:6
↓ 2 callersFunctionprepare_runtime_config
(args)
wan_video_action/parsers.py:27
↓ 1 callersMethod__init__
(self, base_path="", num_frames=81, time_division_factor=4, time_division_remainder=1, frame_processor=lambda
wan_video_action/data/operators.py:118
↓ 1 callersMethod_apply_sample_selection
(self)
wan_video_action/data/unified_dataset.py:47
↓ 1 callersFunction_build_autoregressive_action_condition
( action: torch.Tensor, history_indices: List[int], future_start: int, future_count: int,
scripts/infer.py:46
↓ 1 callersFunction_build_autoregressive_history_indices
( num_generated_frames: int, history_frames: int, )
scripts/infer.py:31
↓ 1 callersFunction_build_wan2_action_units
(pipe: WanVideoPipeline)
wan_video_action/pipelines/wan_video_action.py:72
↓ 1 callersMethod_frame_to_tensor
Convert a single PIL Image to CHW tensor in range [-1, 1].
wan_video_action/data/operators.py:219
↓ 1 callersMethod_get_min_max
(self)
wan_video_action/data/operators.py:429
↓ 1 callersFunction_install_wan_video_action_call
(pipeline: WanVideoPipeline)
wan_video_action/pipelines/wan_video_action.py:86
↓ 1 callersMethod_load_metadata
(self, metadata_path: str)
wan_video_action/data/unified_dataset.py:30
↓ 1 callersMethod_normalize_bound
( self, data: np.ndarray, data_min: np.ndarray, data_max: np.ndarray,
wan_video_action/data/operators.py:434
↓ 1 callersFunction_normalize_to_uint8
(array: np.ndarray)
wan_video_action/utils.py:30
↓ 1 callersFunction_prepare_history_condition_latents
( self: WanVideoPipeline, inputs_shared: dict, *, use_history_condition_noise_in_inference: bo
wan_video_action/pipelines/wan_video_action.py:16
↓ 1 callersMethod_read_slice
(self, parquet_path, column, start_frame, num_frames)
wan_video_action/data/operators.py:446
↓ 1 callersMethod_resolve_frame_range
(self, data: dict)
wan_video_action/data/unified_dataset.py:68
↓ 1 callersMethod_resolve_parquet_info
(self, data, start_frame, end_frame)
wan_video_action/data/operators.py:410
↓ 1 callersFunction_restore_history_condition_latents
( inputs_shared: dict, *, conditioning_latents: Optional[torch.Tensor], history_t: int, )
wan_video_action/pipelines/wan_video_action.py:61
↓ 1 callersFunction_run_autoregressive
( pipe, sample: Dict, args, )
scripts/infer.py:63
↓ 1 callersFunctionadd_action_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:111
↓ 1 callersFunctionadd_config_support
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:188
↓ 1 callersFunctionadd_dataset_base_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:68
↓ 1 callersFunctionadd_gradient_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:156
↓ 1 callersFunctionadd_infer_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:173
↓ 1 callersFunctionadd_lora_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:145
↓ 1 callersFunctionadd_model_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:93
↓ 1 callersFunctionadd_output_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:135
↓ 1 callersFunctionadd_tracking_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:165
↓ 1 callersFunctionadd_training_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:119
↓ 1 callersFunctionadd_video_size_config
(parser: argparse.ArgumentParser)
wan_video_action/parsers.py:78
↓ 1 callersFunctionapply_wan_vae_compat
(vae)
wan_video_action/models/wan_video_vae.py:404
↓ 1 callersFunctionbuild_infer_dataset
(args)
scripts/infer.py:173
↓ 1 callersFunctionbuild_pipeline
(args)
scripts/infer.py:146
↓ 1 callersFunctioncompute_basic_video_metrics
(gt_path, pred_path, batch_size=32)
wan_video_action/metrics/basic_metrics.py:8
↓ 1 callersFunctionconfigure_ti2v_text_off_dit
(dit)
wan_video_action/pipelines/wan_video_action.py:208
↓ 1 callersMethodcrop_and_resize
(self, image, target_height, target_width)
wan_video_action/data/operators.py:171
↓ 1 callersMethodencode_ti2v2
Wan2.2 TI2V action encoding used by adaln mode.
wan_video_action/models/wan_video_action_encoder.py:45
↓ 1 callersMethodfreeze_text_modules
(self)
scripts/train.py:77
↓ 1 callersMethodget_height_width
(self, image)
wan_video_action/data/operators.py:192
↓ 1 callersMethodget_num_frames
(self, clip_frames)
wan_video_action/data/operators.py:126
↓ 1 callersMethodget_num_frames
(self, total_frames)
wan_video_action/data/operators.py:458
↓ 1 callersMethodget_pipeline_inputs
(self, data)
scripts/train.py:98
↓ 1 callersFunctionload_checkpoint_weights
(pipe, ckpt_path: str)
wan_video_action/pipelines/wan_video_action.py:215
↓ 1 callersFunctionmain
()
scripts/infer.py:236
↓ 1 callersFunctionpack_paths
Example: pack_paths(dataset.data, ("video", "start_frame", "end_frame")) # before: # {"video": "a.mp4", "start_frame": 0
wan_video_action/data/data_utils.py:1
↓ 1 callersFunctionparse_args
()
scripts/infer.py:22
↓ 1 callersMethodparse_extra_inputs
(self, data, extra_inputs, inputs_shared)
scripts/train.py:86
↓ 1 callersFunctionprepare_sample_for_rollout
(sample: Dict, sample_index: int, pipe, args)
scripts/infer.py:209
↓ 1 callersFunctionresolve_model_path
(model_path: str)
wan_video_action/utils.py:17
↓ 1 callersFunctionsave_video
(video: torch.Tensor, output_path: str, fps: int, quality: int)
wan_video_action/utils.py:44
↓ 1 callersFunctionset_global_seed
(seed=42)
wan_video_action/utils.py:110
↓ 1 callersFunctionwan_parser
()
scripts/train.py:136
Function__call__
( self: WanVideoPipeline, input_video: Optional[torch.Tensor] = None, denoising_streng
wan_video_action/pipelines/wan_video_action.py:88
Method__call__
(self, data)
wan_video_action/data/operators.py:42
Method__call__
(self, data)
wan_video_action/data/operators.py:58
Method__call__
(self, data: str)
wan_video_action/data/operators.py:67
Method__call__
(self, data, start_frame=None, end_frame=None)
wan_video_action/data/operators.py:78
Method__call__
(self, data, start_frame=None, end_frame=None)
wan_video_action/data/operators.py:136
Method__call__
(self, data: Image.Image)
wan_video_action/data/operators.py:206
Method__call__
Convert data to video tensor. Args: data: One of: - torch.Tensor: Already a tensor, validate shape
wan_video_action/data/operators.py:241
Method__call__
(self, data: str, start_frame=None, end_frame=None)
wan_video_action/data/operators.py:472
Method__getitem__
(self, data_id: int)
wan_video_action/data/unified_dataset.py:58
Method__init__
( self, base_path: str, metadata_path: str, repeat: int = 1, data_file
wan_video_action/data/unified_dataset.py:9
Method__init__
(self, key: str, operator_map=None)
wan_video_action/data/operators.py:38
Method__init__
(self, base_path="", key="")
wan_video_action/data/operators.py:54
Method__init__
(self, base_path="")
wan_video_action/data/operators.py:64
Method__init__
(self, base_path="", num_frames=81, time_division_factor=4, time_division_remainder=1, frame_processor=lambda
wan_video_action/data/operators.py:72
Method__init__
(self, height=None, width=None, max_pixels=None, height_division_factor=1, width_division_factor=1, resize_mod
wan_video_action/data/operators.py:163
Method__init__
( self, base_path="", action_type="eef_abs", stat=None, use_percentile
wan_video_action/data/operators.py:342
Method__init__
(self)
wan_video_action/pipelines/wan_video_action.py:329
Method__init__
(self)
wan_video_action/pipelines/wan_video_action.py:501
Method__init__
( self, action_dim: int = 14, dim: int = 1536, num_action_per_chunk: Optional[
wan_video_action/models/wan_video_action_encoder.py:7
Method__init__
( self, model_paths=None, model_id_with_origin_paths=None, tokenizer_path=None,
scripts/train.py:14
Method__len__
(self)
wan_video_action/data/unified_dataset.py:55
Function_decoder3d_38_forward
(self, x, feat_cache=None, feat_idx=[0], first_chunk=False)
wan_video_action/models/wan_video_vae.py:255
Function_decoder3d_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:209
Function_down_residual_block_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:100
Function_encoder3d_38_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:163
Function_encoder3d_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:117
Function_resample_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:30
Function_residual_block_forward
(self, x, feat_cache=None, feat_idx=[0])
wan_video_action/models/wan_video_vae.py:79
Function_up_residual_block_forward
(self, x, feat_cache=None, feat_idx=[0], first_chunk=False)
wan_video_action/models/wan_video_vae.py:107
Function_video_vae38_decode
(self, z, scale)
wan_video_action/models/wan_video_vae.py:376
Function_video_vae38_encode
(self, x, scale)
wan_video_action/models/wan_video_vae.py:348
Function_video_vae_decode
(self, z, scale)
wan_video_action/models/wan_video_vae.py:325
Function_video_vae_encode
(self, x, scale)
wan_video_action/models/wan_video_vae.py:301
Functioncustom_forward
(*inputs)
wan_video_action/pipelines/wan_video_action.py:468
next →1–100 of 109, ranked by callers