MCPcopy Create free account

hub / github.com/World-In-World/world-in-world / functions

Functions7,952 in github.com/World-In-World/world-in-world

↓ 4 callersFunctionset_adapter_layers
(model, enabled=True)
FTsvd/diffusers-private/diffusers/utils/peft_utils.py:204
↓ 4 callersMethodset_all
(self, value: bool)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/observation_config.py:99
↓ 4 callersMethodset_all_low_dim
(self, value: bool)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/observation_config.py:110
↓ 4 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
FTsvd/diffusers-private/diffusers/models/unets/uvit_2d.py:241
↓ 4 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
FTsvd/diffusers-private/diffusers/models/unets/unet_motion_model.py:1878
↓ 4 callersMethodset_progress_bar_config
(self, **kwargs)
FTsvd/diffusers-private/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:198
↓ 4 callersMethodset_progress_bar_config
(self, **kwargs)
FTsvd/diffusers-private/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:211
↓ 4 callersFunctionset_verbosity
Set the verbosity level for the 🤗 Diffusers' root logger. Args: verbosity (`int`): Logging level which can be one of:
FTsvd/diffusers-private/diffusers/utils/logging.py:147
↓ 4 callersMethodto_dict
Serializes this instance to a Python dictionary. Returns: `Dict[str, Any]`: Dictionary of all the attributes that make up this co
FTsvd/diffusers-private/diffusers/quantizers/quantization_config.py:354
↓ 4 callersMethodunfuse_lora
r""" Reverses the effect of [`pipe.fuse_lora()`](https://huggingface.co/docs/diffusers/main/en/api/loaders#diffusers.loaders.LoraBaseM
FTsvd/diffusers-private/diffusers/loaders/lora_pipeline.py:1637
↓ 4 callersFunctionupdate_mapping_from_spec
(device_fn_dict: Dict[str, Callable], attribute_name: str)
FTsvd/diffusers-private/diffusers/utils/testing_utils.py:1054
↓ 4 callersMethodupdate_position_traj
(self, new_position)
downstream/utils/state_traj.py:71
↓ 4 callersFunctionupdate_vae_resnet_ldm_to_diffusers
(keys, new_checkpoint, checkpoint, mapping)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:815
↓ 4 callersFunctionvisualize_ar_baseline
( datum_dir, key="rgb_bbox_front", label=None, answer_file_name="answerer.json", planner_f
downstream/visualize.py:342
↓ 3 callersMethod__init__
( self, do_resize: bool = True, vae_scale_factor: int = 8, vae_latent_channels
FTsvd/diffusers-private/diffusers/image_processor.py:113
↓ 3 callersMethod__init__
Initialize an empty AttentionStore :param step_index: used to visualize only a specific step in the diffusion process
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:122
↓ 3 callersMethod_aggregate_and_get_max_attention_per_token
Aggregates the attention for each token and computes the max activation value for each token to alter.
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:629
↓ 3 callersMethod_alpha_cumprod
(self, t, device)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_ddpm_wuerstchen.py:118
↓ 3 callersMethod_build_task_prompt
(self, user_instruction, avg_obj_coord)
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:126
↓ 3 callersMethod_call_qwen72b
(self, message_history, **kwargs)
downstream/world-in-world-manip/wiw_manip/planner/utils/remote_model.py:290
↓ 3 callersMethod_cast_floating_to
Helper method to cast floating-point values of given parameter `PyTree` to given `dtype`.
FTsvd/diffusers-private/diffusers/models/modeling_flax_utils.py:71
↓ 3 callersMethod_combine_joint
r""" Combines a latent image img_vae of shape (B, C, H, W), a CLIP-embedded image img_clip of shape (B, L_img, clip_img_dim), and a te
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:818
↓ 3 callersMethod_compute_loss
Computes the attend-and-excite loss using the maximum attention value for each token.
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:644
↓ 3 callersFunction_convert_to_ai_toolkit_cat
(sds_sd, ait_sd, sds_key, ait_keys, dims=None)
FTsvd/diffusers-private/diffusers/loaders/lora_conversion_utils.py:357
↓ 3 callersFunction_create_sensor_spec
( uuid: str, type, hfov, height, width, sensor_position, sensor_pitch )
subtrees/open-eqa/data/hm3d/config.py:20
↓ 3 callersFunction_create_sensor_spec
( uuid: str, type, hfov, height, width, sensor_position, sensor_pitch, sensor_roll=0.0 )
downstream/simulator.py:37
↓ 3 callersFunction_device_agnostic_dispatch
(device: str, dispatch_table: Dict[str, Callable], *args, **kwargs)
FTsvd/diffusers-private/diffusers/utils/testing_utils.py:1012
↓ 3 callersMethod_ee_action
(self, action, relative_to=None)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:128
↓ 3 callersMethod_encode_vae_image
(self, image: torch.Tensor, generator: torch.Generator)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:733
↓ 3 callersMethod_file_to_class_name
(self, name)
downstream/world-in-world-manip/wiw_manip/envs/tools/task_builder_NLP.py:104
↓ 3 callersMethod_filter_keys
(self, action_traj, keep_keys=["Reason", "Action Plan", "Chosen View", "Chosen Landmark", "Answer"],
downstream/solver_AEQA.py:875
↓ 3 callersFunction_get_pipeline_class
( class_obj, config=None, load_connected_pipeline=False, custom_pipeline=None, repo_id=Non
FTsvd/diffusers-private/diffusers/pipelines/pipeline_loading_utils.py:337
↓ 3 callersMethod_get_signature_keys
(cls, obj)
FTsvd/diffusers-private/diffusers/models/modeling_utils.py:1160
↓ 3 callersMethod_get_task_prompt
A thin wrapper around the template functions / dictionaries that live elsewhere, plus variable substitution.
downstream/prompts.py:407
↓ 3 callersMethod_get_variance
(self, t, predicted_variance=None, variance_type=None)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_ddpm.py:326
↓ 3 callersMethod_get_variance
(self, t, predicted_variance=None, variance_type=None)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_ddpm_parallel.py:337
↓ 3 callersMethod_init_step_index
(self, timestep)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_lcm.py:269
↓ 3 callersFunction_normalize_quat
Return *q* scaled to unit length (handles zeros gracefully).
downstream/world-in-world-manip/wiw_manip/planner/utils/planner_utils.py:93
↓ 3 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_controlnet_image_to_image.py:510
↓ 3 callersMethod_pack_latents
(latents, batch_size, num_channels_latents, height, width)
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_controlnet.py:467
↓ 3 callersMethod_predict_eps_from_xstart
(self, x_t, t, pred_xstart)
downstream/api_models/nwm/diffusion/gaussian_diffusion.py:347
↓ 3 callersMethod_prepare_latents_free_noise
( self, batch_size: int, num_channels_latents: int, num_frames: int, h
FTsvd/diffusers-private/diffusers/pipelines/free_noise_utils.py:356
↓ 3 callersFunction_read_img
(path, ch)
downstream/api_models/pathdreamer_model.py:39
↓ 3 callersFunction_rotate_yaw
Rotate the agent_state by a specified angle. :param agent_state: The state of the agent to be updated. :param curr_rotation: Current rot
downstream/utils/util.py:188
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_sasolver.py:365
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_lms_discrete.py:346
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_deis_multistep.py:336
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:357
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_unipc_multistep.py:420
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:426
↓ 3 callersMethod_sigma_to_t
(self, sigma, log_sigmas)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_heun_discrete.py:356
↓ 3 callersMethod_split
r""" Splits a flattened embedding x of shape (B, C * H * W + clip_img_dim) into two tensors of shape (B, C, H, W) and (B, 1, clip_img_
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:774
↓ 3 callersMethod_split_joint
r""" Splits a flattened embedding x of shape (B, C * H * W + clip_img_dim + text_seq_len * text_dim] into (img_vae, img_clip, text) wh
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:799
↓ 3 callersMethod_thread_id
()
downstream/world-in-world-manip/scripts/libero_env_server.py:46
↓ 3 callersFunction_to_range
(z, high=high, low=low, rescale=False)
utils/svd_utils.py:521
↓ 3 callersFunction_unwrap_model
Unwraps a model.
FTsvd/diffusers-private/diffusers/pipelines/pipeline_loading_utils.py:232
↓ 3 callersMethod_vb_terms_bpd
Get a term for the variational lower-bound. The resulting units are bits (rather than nats, as one might expect). This allows
downstream/api_models/nwm/diffusion/gaussian_diffusion.py:688
↓ 3 callersFunctionadd_answerer_frame
()
downstream/visualize.py:376
↓ 3 callersFunctionadd_answerer_frame
()
downstream/world-in-world-manip/wiw_manip/planner/utils/visualize.py:376
↓ 3 callersFunctionadd_planner_frame
()
downstream/visualize.py:398
↓ 3 callersFunctionadd_planner_frame
()
downstream/world-in-world-manip/wiw_manip/planner/utils/visualize.py:398
↓ 3 callersMethodadd_to_recent_state
Update the *latest row* of ``self.state_traj`` at column ``key``. mode : {'replace', 'extend'}, default 'replace' - repla
downstream/world-in-world-manip/wiw_manip/planner/utils/state_traj.py:90
↓ 3 callersMethodbackward_loop
Perform backward process given list of time steps Args: latents: Latents at time timesteps[0].
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:842
↓ 3 callersMethodbackward_loop
Perform backward process given list of time steps. Args: latents: Latents at time timesteps[0].
FTsvd/diffusers-private/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:370
↓ 3 callersMethodbinarize
Create a mask. Args: image (`PIL.Image.Image`): The image input, should be a PIL image. Returns
FTsvd/diffusers-private/diffusers/image_processor.py:523
↓ 3 callersMethodblend_h
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:339
↓ 3 callersMethodblend_v
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:333
↓ 3 callersFunctionbuild_common_arg_parser
Create an ArgumentParser pre-populated with common solver args. Args: world_model_choices: Optional[List[str]] of allowed world model typ
downstream/solver_base.py:850
↓ 3 callersFunctioncalculate_lpips
(videos1, videos2, device, only_final=False)
evaluation/FVD/calculate_lpips.py:28
↓ 3 callersFunctioncall_google_api
( message: Union[str, List[Union[Any, Image]]], model: str = "gemini-pro", # gemini-pro, gemini-pro-v
subtrees/open-eqa/openeqa/utils/google_utils.py:23
↓ 3 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
FTsvd/diffusers-private/diffusers/pipelines/controlnet/pipeline_controlnet.py:752
↓ 3 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
FTsvd/diffusers-private/diffusers/pipelines/pag/pipeline_pag_controlnet_sd.py:708
↓ 3 callersFunctioncheck_inputdict
Check if the input_dict contains the expected keys and types.
downstream/utils/worker_manager.py:106
↓ 3 callersMethodcheck_inputs
( self, prompt, strength, callback_steps, negative_prompt=None,
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py:635
↓ 3 callersMethodclassify_height_width_bin
r""" Returns the binned height and width based on the aspect ratio. Args: height (`int`): The height of the image.
FTsvd/diffusers-private/diffusers/image_processor.py:1254
↓ 3 callersMethodclose
(self)
downstream/world-in-world-manip/wiw_manip/envs/libero_env_core.py:573
↓ 3 callersFunctioncompute_vln_eval_metrics
s: is_success p: traj_dist l: demo_dist
downstream/evaluator.py:40
↓ 3 callersMethodconnect_to_WM_server
(self)
downstream/solver_base.py:675
↓ 3 callersMethodconvert_model_output
Convert the model output to the corresponding type the data_prediction/noise_prediction algorithm needs. Noise_prediction is designed
FTsvd/diffusers-private/diffusers/schedulers/scheduling_sasolver.py:475
↓ 3 callersFunctionconvert_open_clip_checkpoint
( text_model, checkpoint, prefix="cond_stage_model.model.", )
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:1316
↓ 3 callersMethodcopy_to
Copy current averaged parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parameter`
FTsvd/diffusers-private/diffusers/training_utils.py:482
↓ 3 callersMethoddisable_tiling
r""" Disable tiled VAE decoding. If `enable_tiling` was previously enabled, this method will go back to computing decoding in one step
FTsvd/diffusers-private/diffusers/models/autoencoders/autoencoder_kl.py:152
↓ 3 callersMethoddpm_solver_first_order_update
One step for the first-order DPMSolver (equivalent to DDIM). Args: model_output (`torch.Tensor`): The di
FTsvd/diffusers-private/diffusers/schedulers/scheduling_dpmsolver_multistep.py:693
↓ 3 callersMethodencode
(self, prefix)
FTsvd/diffusers-private/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:166
↓ 3 callersMethodencode
Reverse the denoising step process to recover a noisy image from the generated image. Args: images (`List[PIL Image]`):
FTsvd/diffusers-private/diffusers/pipelines/deprecated/audio_diffusion/pipeline_audio_diffusion.py:271
↓ 3 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
FTsvd/diffusers-private/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py:406
↓ 3 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
FTsvd/diffusers-private/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_cycle_diffusion.py:284
↓ 3 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
FTsvd/diffusers-private/diffusers/pipelines/pia/pipeline_pia.py:202
↓ 3 callersFunctionensure_numpy_core_numeric_compat
()
downstream/utils/worker_manager.py:81
↓ 3 callersFunctionensure_numpy_core_numeric_compat
()
downstream/world-in-world-manip/wiw_manip/planner/utils/worker_manager.py:70
↓ 3 callersMethodextract_unique_action_seq
(action_seqs)
downstream/solver_base.py:434
↓ 3 callersMethodextract_unique_ep
(self, ep_list)
habitat_data/HabitatRender.py:558
↓ 3 callersMethodfreeze_base_params
Freeze the weights of the parts belonging to the base UNet2DConditionModel, and leave everything else unfrozen for fine tuning.
FTsvd/diffusers-private/diffusers/models/controlnet_xs.py:1821
↓ 3 callersMethodfrom_dict
(cls, quantization_config_dict: Dict)
FTsvd/diffusers-private/diffusers/quantizers/auto.py:43
↓ 3 callersMethodfrom_modules
(cls, base_upblock: CrossAttnUpBlock2D, ctrl_upblock: UpBlockControlNetXSAdapter)
FTsvd/diffusers-private/diffusers/models/controlnet_xs.py:1763
↓ 3 callersFunctiongenerate_bbox_imgs
For each (rgb_img, mask_img) pair, compute a bounding box from the mask, optionally rescale it according to 'scale_factor', and draw the boun
downstream/utils/igenex_util.py:578
↓ 3 callersFunctionget_2d_rotary_pos_embed
RoPE for image tokens with 2d structure. Args: embed_dim: (`int`): The embedding dimension size crops_coords (`Tuple[int]`)
FTsvd/diffusers-private/diffusers/models/embeddings.py:567
↓ 3 callersFunctionget_action_ids
( batch_size, actions, strategy, weight_type, use_absolute_pose=True, #'micro_cond' or 'action_block' )
utils/svd_utils.py:544
↓ 3 callersFunctionget_azimuth_from_quat
(agent_rot)
downstream/utils/habitat_visualize.py:60
↓ 3 callersMethodget_datum_path_pref
(self, datum)
downstream/world-in-world-manip/wiw_manip/planner/utils/saver.py:38
← previousnext →401–500 of 7,952, ranked by callers