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

↓ 3 callersMethodget_demo
Returns a demo (list of observations)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/scene.py:329
↓ 3 callersFunctionget_distance
(p1, p2, pathfinder)
downstream/utils/util.py:120
↓ 3 callersMethodget_empty_store
()
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:84
↓ 3 callersMethodget_extended_attention_mask
Makes broadcastable attention and causal masks so that future and masked tokens are ignored. Arguments: attention_mask (
FTsvd/diffusers-private/diffusers/pipelines/blip_diffusion/modeling_blip2.py:468
↓ 3 callersMethodget_graspable_objects
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:409
↓ 3 callersMethodget_image_path
(self, datum, ith_action, sensor_type, suffix="")
downstream/utils/saver.py:54
↓ 3 callersMethodget_message
(self, images, prompt, task_prompt, last_act=None, messages=[])
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:211
↓ 3 callersMethodget_postprocess_fn
(self, task_name, coord_type)
downstream/solver_base.py:357
↓ 3 callersMethodget_revise_message
(self, imagine_traj, imagine_action_traj, full_example_prompt, task_prompt, real_obs)
downstream/world-in-world-manip/wiw_manip/planner/igenex_planner.py:391
↓ 3 callersFunctiongpu_merge_pointcloud
(pcdA, pcdB)
downstream/utils/pcd_util.py:119
↓ 3 callersFunctionhabitat_translation
(position)
data_filtering/pcd_reproject.py:25
↓ 3 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
FTsvd/diffusers-private/diffusers/schedulers/scheduling_euler_discrete.py:554
↓ 3 callersFunctioninfer_diffusers_model_type
(checkpoint)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:457
↓ 3 callersMethodinference
(self, curr_obs, curr_delta, num_timesteps, num_goals=1, rel_t=None, progress=False)
downstream/api_models/nwm_model.py:129
↓ 3 callersMethodinit_states
(self, datum, sim)
downstream/solver_base.py:148
↓ 3 callersMethodinit_task
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/scene.py:107
↓ 3 callersMethodinteract
( self, sim, position, rotation, datum, ith_action=None, suffix="", save_imgs=True )
downstream/solver_AR.py:274
↓ 3 callersFunctionis_clip_sdxl_model
(checkpoint)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:396
↓ 3 callersFunctionis_imageio_available
()
FTsvd/diffusers-private/diffusers/utils/import_utils.py:459
↓ 3 callersFunctionis_tensor_dict
(d)
utils/pt_to_safetensors_cosmos.py:18
↓ 3 callersFunctionis_valid_image
r""" Checks if the input is a valid image. A valid image can be: - A `PIL.Image.Image`. - A 2D or 3D `np.ndarray` or `torch.Tensor` (
FTsvd/diffusers-private/diffusers/image_processor.py:41
↓ 3 callersFunctionis_valid_image_imagelist
r""" Checks if the input is a valid image or list of images. The input can be one of the following formats: - A 4D tensor or numpy array
FTsvd/diffusers-private/diffusers/image_processor.py:60
↓ 3 callersFunctionkeyword_score
(name: str, tokens: List[str])
utils/pt_to_safetensors_cosmos.py:144
↓ 3 callersMethodlaunch
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/sim2real/domain_randomization_environment.py:37
↓ 3 callersFunctionlaunch_multiprocessing
Launch workers with a consistent spawn strategy. Args: args: Parsed argparse.Namespace with at least worker_num and api_key. targ
downstream/solver_base.py:887
↓ 3 callersMethodload_attn_procs
r""" Load pretrained attention processor layers into [`UNet2DConditionModel`]. Attention processor layers have to be defined in
FTsvd/diffusers-private/diffusers/loaders/unet.py:69
↓ 3 callersFunctionload_or_create_model_card
Loads or creates a model card. Args: repo_id_or_path (`str`): The repo id (e.g., "runwayml/stable-diffusion-v1-5") or lo
FTsvd/diffusers-private/diffusers/utils/hub_utils.py:99
↓ 3 callersMethodnormalize
r""" Normalize an image array to [-1,1]. Args: images (`np.ndarray` or `torch.Tensor`): The image array t
FTsvd/diffusers-private/diffusers/image_processor.py:212
↓ 3 callersMethodnormalize_normals
(normals: torch.Tensor, eps: float = 1e-6)
FTsvd/diffusers-private/diffusers/pipelines/marigold/pipeline_marigold_normals.py:637
↓ 3 callersFunctionnumpy_to_pil
Convert a numpy image or a batch of images to a PIL image.
FTsvd/diffusers-private/diffusers/utils/pil_utils.py:37
↓ 3 callersFunctionoutput_is_none
(var)
downstream/utils/util.py:370
↓ 3 callersFunctionparse_flag_from_env
(key, default=False)
FTsvd/diffusers-private/diffusers/utils/testing_utils.py:175
↓ 3 callersFunctionparse_input_data
(input_dict)
downstream/api_models/__init__.py:201
↓ 3 callersFunctionpointcloud_distance
(pcdA, pcdB, device)
downstream/utils/pcd_util.py:126
↓ 3 callersFunctionpopulate_model_card
Populates the `model_card` with library name and optional tags.
FTsvd/diffusers-private/diffusers/utils/hub_utils.py:169
↓ 3 callersFunctionposenc_nerf
Concatenate x and its positional encodings, following NeRF. Reference: https://arxiv.org/pdf/2210.04628.pdf
FTsvd/diffusers-private/diffusers/pipelines/shap_e/renderer.py:53
↓ 3 callersMethodprepare_latents
(self, shape, dtype, device, generator, latents, scheduler)
FTsvd/diffusers-private/diffusers/pipelines/unclip/pipeline_unclip.py:109
↓ 3 callersMethodpt_to_numpy
r""" Convert a PyTorch tensor to a NumPy image. Args: images (`torch.Tensor`): The PyTorch tensor to conv
FTsvd/diffusers-private/diffusers/image_processor.py:196
↓ 3 callersMethodremove_all_hooks
r""" Removes all hooks that were added when using `enable_sequential_cpu_offload` or `enable_model_cpu_offload`.
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:982
↓ 3 callersMethodremove_bug_points
(self, point, points_list)
habitat_data/HabitatRender.py:701
↓ 3 callersFunctionrenew_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:117
↓ 3 callersMethodreset
(self)
habitat_data/recoder.py:38
↓ 3 callersMethodreset
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:90
↓ 3 callersMethodreset
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/gym/vlmbench_env.py:110
↓ 3 callersMethodreset_x0
(self, x_in, cond, act_dim)
FTsvd/diffusers-private/diffusers/experimental/rl/value_guided_sampling.py:84
↓ 3 callersMethodreshape_heads_to_batch_dim
(self, tensor)
FTsvd/diffusers-private/diffusers/models/attention_flax.py:165
↓ 3 callersMethodresize_and_crop_tensor
r""" Resizes and crops a tensor of images to the specified dimensions. Args: samples (`torch.Tensor`): A
FTsvd/diffusers-private/diffusers/image_processor.py:1272
↓ 3 callersMethodresize_gen_frames
resize the generated frames to the desired size according to the type of the input frames
FTsvd/eval_inference.py:186
↓ 3 callersMethodrespond
(self, prompt, obs=None)
downstream/world-in-world-manip/wiw_manip/planner/utils/custom_model.py:18
↓ 3 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
FTsvd/diffusers-private/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_inpaint.py:78
↓ 3 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_inpaint.py:86
↓ 3 callersFunctionretrieve_latents
( encoder_output: torch.Tensor, generator: Optional[torch.Generator] = None, sample_mode: str = "sample" )
FTsvd/diffusers-private/diffusers/pipelines/flux/pipeline_flux_controlnet_inpainting.py:101
↓ 3 callersMethodrotate
(self, theta: np.ndarray)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/spawn_boundary.py:23
↓ 3 callersMethodrun
(self)
downstream/evaluator.py:382
↓ 3 callersFunctionsafe_chmod
Best-effort chmod that ignores PermissionError when you are not the owner.
downstream/utils/saver.py:198
↓ 3 callersFunctionsafe_chmod
Best-effort chmod that ignores PermissionError when you are not the owner.
downstream/world-in-world-manip/wiw_manip/planner/utils/saver.py:198
↓ 3 callersFunctionsave_action_sequence
Save action sequences as JSON files in the specified directories. Input: - b_action: Int32[Tensor, "b 14"] actions corresponding to
downstream/world-in-world-manip/wiw_manip/planner/utils/saver.py:221
↓ 3 callersMethodsave_chat_log
(self, current_obs_path, response_texts, messages=None)
downstream/world-in-world-manip/wiw_manip/planner/vlm_planner.py:575
↓ 3 callersMethodsave_on_disk
(self, datum, ith_action, suffix, state_imgs, verbose)
downstream/solver_base.py:129
↓ 3 callersMethodsave_pretrained
Save a model and its configuration file to a specified directory, allowing it to be re-loaded with the `[`~models.adapter.MultiAdapte
FTsvd/diffusers-private/diffusers/models/adapter.py:105
↓ 3 callersMethodsave_task
(self)
downstream/world-in-world-manip/wiw_manip/envs/tools/task_builder_NLP.py:162
↓ 3 callersMethodsave_vlm_input_media
(self, action_results_frames, pred_save_path)
downstream/solver_base.py:416
↓ 3 callersFunctionsearch_sensor
(sensor_specifications: List, key_words: List)
downstream/simulator.py:237
↓ 3 callersFunctionsegment
(a, n)
FTsvd/diffusers-private/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:339
↓ 3 callersMethodsend_batch_to_server
return: output_dict = { "save_dirs": save_dirs, # same with input "pred_frames": pred_frames
downstream/solver_base.py:645
↓ 3 callersMethodset_adapter
Sets a specific adapter by forcing the model to only use that adapter and disables the other adapters. If you are not familiar with
FTsvd/diffusers-private/diffusers/loaders/peft.py:150
↓ 3 callersMethodset_all_high_dim
(self, value: bool)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/observation_config.py:103
↓ 3 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
FTsvd/diffusers-private/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:852
↓ 3 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/controlnet_xs.py:897
↓ 3 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/transformers/hunyuan_transformer_2d.py:386
↓ 3 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/transformers/pixart_transformer_2d.py:216
↓ 3 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_3d_condition.py:384
↓ 3 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_i2vgen_xl.py:347
↓ 3 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_2d_condition.py:722
↓ 3 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/autoencoders/autoencoder_kl.py:199
↓ 3 callersMethodset_best_answer
(self, ans)
downstream/utils/state_traj.py:191
↓ 3 callersMethodset_chunk_feed_forward
(self, chunk_size: Optional[int], dim: int = 0)
FTsvd/diffusers-private/diffusers/models/attention.py:185
↓ 3 callersFunctionset_google_key
(key: Optional[str] = None)
subtrees/open-eqa/openeqa/utils/google_utils.py:15
↓ 3 callersFunctionset_image_size
(checkpoint, image_size=None)
FTsvd/diffusers-private/diffusers/loaders/single_file_utils.py:557
↓ 3 callersMethodset_one_result
(self, result, datum, pred, traj_len, score, traj_dist)
downstream/evaluator.py:240
↓ 3 callersMethodset_resolution
Set resolution. Args: x_res (`int`): x resolution of spectrogram (time). y_res (`int`):
FTsvd/diffusers-private/diffusers/pipelines/deprecated/audio_diffusion/mel.py:80
↓ 3 callersMethodset_use_memory_efficient_attention_xformers
( self, valid: bool, attention_op: Optional[Callable] = None )
FTsvd/diffusers-private/diffusers/pipelines/pipeline_utils.py:1614
↓ 3 callersMethodset_use_memory_efficient_attention_xformers
( self, valid: bool, attention_op: Optional[Callable] = None )
FTsvd/diffusers-private/diffusers/models/modeling_utils.py:211
↓ 3 callersMethodset_use_npu_flash_attention
r""" Set the switch for the npu flash attention.
FTsvd/diffusers-private/diffusers/models/modeling_utils.py:181
↓ 3 callersMethodset_variation
(self, v: int)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:80
↓ 3 callersMethodset_vlm_input_format
(self, planner, answerer)
downstream/solver_base.py:77
↓ 3 callersMethodset_world_model_type
(self)
downstream/solver_base.py:86
↓ 3 callersMethodshape
(x)
FTsvd/diffusers-private/diffusers/models/embeddings.py:1509
↓ 3 callersFunctionssim
(img1, img2)
evaluation/FVD/calculate_ssim.py:6
↓ 3 callersMethodtake_snap
(self)
downstream/world-in-world-manip/wiw_manip/envs/tools/test_config_generator.py:80
↓ 3 callersMethodto_torch
(self, x_in)
FTsvd/diffusers-private/diffusers/experimental/rl/value_guided_sampling.py:77
↓ 3 callersMethodtranspose_for_scores
(self, projection)
FTsvd/diffusers-private/diffusers/models/vae_flax.py:232
↓ 3 callersMethodtranspose_for_scores
(self, projection: torch.Tensor)
FTsvd/diffusers-private/diffusers/models/unets/unet_1d_blocks.py:332
↓ 3 callersMethodunload
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/task.py:448
↓ 3 callersMethodupcast_vae
(self)
FTsvd/diffusers-private/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py:692
↓ 3 callersMethodupdate_pcd
Updates the point cloud of the object, and recomputes the position.
downstream/utils/state_obj.py:41
↓ 3 callersMethodvariation_count
(self)
downstream/world-in-world-manip/wiw_manip/envs/amsolver/task_environment.py:87
↓ 3 callersFunctionvisualize_semantic_img
(sem_obs_raw)
downstream/utils/util.py:402
↓ 2 callersFunctionClipFloatValues
Clips values to the range [min_value, max_value]. First checks if any values are out of range and prints a message. Then clips all values to the
downstream/world-in-world-manip/wiw_manip/envs/amsolver/backend/utils.py:29
↓ 2 callersMethod__get_classify_logprobs
(self, logprobs, return_prob, trunc_thres=None)
downstream/vlm.py:202
← previousnext →501–600 of 7,952, ranked by callers