MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersMethodget_dummy_mask_inputs
(self, device, seed=0)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_diffedit.py:151
↓ 1 callersMethodget_dummy_seed_input
(self, seed=0)
tests/models/transformers/test_models_prior.py:61
↓ 1 callersMethodget_dummy_seed_input
(self, batch_size=1, embedding_dim=768, num_embeddings=77, seed=0)
tests/models/transformers/test_models_prior.py:145
↓ 1 callersMethodget_dummy_tiny_autoencoder
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:178
↓ 1 callersMethodget_dummy_tiny_autoencoder
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:166
↓ 1 callersMethodget_dummy_token
(self, batch_size: int, device: torch.device)
src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:163
↓ 1 callersMethodget_dynamic_axes
(self)
examples/community/stable_diffusion_tensorrt_inpaint.py:565
↓ 1 callersMethodget_dynamic_axes
(self)
examples/community/stable_diffusion_tensorrt_txt2img.py:550
↓ 1 callersMethodget_dynamic_axes
(self)
examples/community/stable_diffusion_tensorrt_img2img.py:565
↓ 1 callersFunctionget_equalizer
( text: str, word_select: Union[int, Tuple[int, ...]], values: Union[List[float], Tuple[float, ...
examples/community/pipeline_prompt2prompt.py:1310
↓ 1 callersMethodget_file_format
(self, seed, shape)
tests/models/autoencoders/test_models_vae.py:490
↓ 1 callersMethodget_file_format
(self, seed, shape)
tests/models/autoencoders/test_models_vae.py:561
↓ 1 callersMethodget_file_format
(self, seed, shape)
tests/models/autoencoders/test_models_vae.py:853
↓ 1 callersFunctionget_filename
(path: str)
examples/community/wildcard_stable_diffusion.py:25
↓ 1 callersMethodget_fixed_latents
(self, device, seed=0)
tests/pipelines/unidiffuser/test_unidiffuser.py:165
↓ 1 callersMethodget_fixed_latents
(self, device, seed=0)
tests/pipelines/unidiffuser/test_unidiffuser.py:601
↓ 1 callersMethodget_fixed_latents
(self, device, seed=0)
tests/pipelines/unidiffuser/test_unidiffuser.py:717
↓ 1 callersMethodget_fixed_latents
(self, seed=0, device="cpu", dtype=torch.float32, shape=(1, 3, 64, 64))
tests/pipelines/consistency_models/test_consistency_models.py:195
↓ 1 callersFunctionget_fourier_embeds_from_boundingbox
Args: embed_dim: int box: a 3-D tensor [B x N x 4] representing the bounding boxes for GLIGEN pipeline Returns: [B x
src/diffusers/models/embeddings.py:624
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:877
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1113
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:879
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/brushnet/pipeline_brushnet.py:779
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:787
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:616
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:551
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:493
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:872
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:827
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py:672
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:770
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:912
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/stable_diffusion_ldm3d/pipeline_stable_diffusion_ldm3d.py:647
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion_img2img.py:696
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion.py:607
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/research_projects/promptdiffusion/pipeline_prompt_diffusion.py:837
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/community/pipeline_sdxl_style_aligned.py:1305
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/community/latent_consistency_interpolate.py:491
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/community/ip_adapter_face_id.py:1059
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/community/lpw_stable_diffusion_xl.py:1300
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
examples/community/pipeline_stable_diffusion_xl_ipex.py:672
↓ 1 callersMethodget_image_coords
:return: coords of shape (width * height, 2)
src/diffusers/pipelines/shap_e/camera.py:49
↓ 1 callersMethodget_input_example
(self, prompt, height=None, width=None, guidance_scale=7.5, num_images_per_prompt=1)
examples/community/stable_diffusion_ipex.py:184
↓ 1 callersMethodget_input_names
(self)
examples/community/stable_diffusion_tensorrt_inpaint.py:559
↓ 1 callersMethodget_input_names
(self)
examples/community/stable_diffusion_tensorrt_txt2img.py:544
↓ 1 callersMethodget_input_names
(self)
examples/community/stable_diffusion_tensorrt_img2img.py:559
↓ 1 callersMethodget_input_profile
(self, batch_size, image_height, image_width, static_batch, static_shape)
examples/community/stable_diffusion_tensorrt_inpaint.py:568
↓ 1 callersMethodget_input_profile
(self, batch_size, image_height, image_width, static_batch, static_shape)
examples/community/stable_diffusion_tensorrt_txt2img.py:553
↓ 1 callersMethodget_input_profile
(self, batch_size, image_height, image_width, static_batch, static_shape)
examples/community/stable_diffusion_tensorrt_img2img.py:568
↓ 1 callersMethodget_inputs
(self, device, dtype=torch.float32, seed=0)
tests/pipelines/latent_diffusion/test_latent_diffusion.py:146
↓ 1 callersMethodget_inputs
(self, device, dtype=torch.float32, seed=0)
tests/pipelines/latent_diffusion/test_latent_diffusion.py:182
↓ 1 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
tests/pipelines/audioldm/test_audioldm.py:419
↓ 1 callersMethodget_inputs
(self, device, generator_device="cpu", dtype=torch.float32, seed=0)
tests/pipelines/stable_diffusion_ldm3d/test_stable_diffusion_ldm3d.py:215
↓ 1 callersMethodget_inverse_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/stable_diffusion_diffedit/pipeline_stable_diffusion_diffedit.py:731
↓ 1 callersFunctionget_karras_sigmas
Calculates the Karras sigmas timestep discretization of [sigma_min, sigma_max].
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:109
↓ 1 callersMethodget_kernel
(self)
examples/community/dps_pipeline.py:427
↓ 1 callersMethodget_latest_timestep_img2img
Finds the latest timesteps where an img2img strength does not impose latents anymore
examples/community/mixture_canvas.py:309
↓ 1 callersMethodget_lms_coefficient
Compute the linear multistep coefficient. Args: order (): t (): current_order ():
src/diffusers/schedulers/scheduling_lms_discrete.py:233
↓ 1 callersMethodget_lms_coefficient
Compute a linear multistep coefficient. Args: order (TODO): t (TODO): current_order (TODO):
src/diffusers/schedulers/scheduling_lms_discrete_flax.py:145
↓ 1 callersMethodget_lora_components
(self)
tests/pipelines/stable_cascade/test_stable_cascade_prior.py:235
↓ 1 callersMethodget_lora_components
(self)
tests/pipelines/wuerstchen/test_wuerstchen_prior.py:258
↓ 1 callersFunctionget_loss_weighting_schedule
Calculates the loss weighting schedule lambda given a set of noise levels.
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:140
↓ 1 callersFunctionget_mapper
(x: str, y: str, tokenizer, max_len=77)
examples/community/pipeline_prompt2prompt.py:1401
↓ 1 callersFunctionget_mask
(tokenizer, accelerator)
examples/research_projects/multi_token_textual_inversion/textual_inversion.py:136
↓ 1 callersFunctionget_matrix
(size_x, size_y, gap)
examples/community/pipeline_prompt2prompt.py:1340
↓ 1 callersFunctionget_mid_block
( mid_block_type: str, num_layers: int, in_channels: int, mid_channels: int, out_channels:
src/diffusers/models/unet_1d_blocks.py:163
↓ 1 callersFunctionget_minibatch
(batch, grad_idx)
examples/controlnet/train_controlnet_flax.py:938
↓ 1 callersFunctionget_model
(pipeline_class_name)
src/diffusers/pipelines/auto_pipeline.py:149
↓ 1 callersMethodget_model
(self)
examples/community/stable_diffusion_tensorrt_inpaint.py:244
↓ 1 callersMethodget_model
(self)
examples/community/stable_diffusion_tensorrt_txt2img.py:229
↓ 1 callersMethodget_model
(self)
examples/community/stable_diffusion_tensorrt_img2img.py:244
↓ 1 callersFunctionget_model_table_from_auto_modules
Generates an up-to-date model table from the content of the auto modules.
utils/check_table.py:88
↓ 1 callersFunctionget_model_test_files
Get the model test files. The returned files should NOT contain the `tests` (i.e. `PATH_TO_TESTS` defined in this script). They will be consi
utils/check_repo.py:315
↓ 1 callersFunctionget_modified_python_files
Return a list of python files that have been modified between: - the current head and the main branch if `diff_with_last_commit=False` (defa
utils/tests_fetcher.py:277
↓ 1 callersFunctionget_module_kohya_state_dict
(module, prefix: str, dtype: torch.dtype, adapter_name: str = "default")
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:80
↓ 1 callersFunctionget_module_kohya_state_dict
(module, prefix: str, dtype: torch.dtype, adapter_name: str = "default")
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:86
↓ 1 callersFunctionget_new_doctest_files
Get the list of files that were removed from "utils/not_doctested.txt", between `base_commit` and `branching_commit`. Returns: `
utils/tests_fetcher.py:379
↓ 1 callersFunctionget_new_h_w
(h, w, scale_factor=8)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py:79
↓ 1 callersFunctionget_new_h_w
(h, w, scale_factor=8)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_inpaint.py:88
↓ 1 callersFunctionget_new_h_w
(h, w, scale_factor=8)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky.py:66
↓ 1 callersMethodget_noise_pred
(self, latents, t, context)
examples/community/pipeline_null_text_inversion.py:59
↓ 1 callersFunctionget_out_block
( *, out_block_type: str, num_groups_out: int, embed_dim: int, out_channels: int, act_fn: str, fc_dim: int
src/diffusers/models/unets/unet_1d_blocks.py:695
↓ 1 callersMethodget_output_names
(self)
examples/community/stable_diffusion_tensorrt_inpaint.py:562
↓ 1 callersMethodget_output_names
(self)
examples/community/stable_diffusion_tensorrt_txt2img.py:547
↓ 1 callersMethodget_output_names
(self)
examples/community/stable_diffusion_tensorrt_img2img.py:562
↓ 1 callersFunctionget_parameter_device
(parameter: torch.nn.Module)
src/diffusers/models/modeling_utils.py:63
↓ 1 callersFunctionget_parameter_dtype
(parameter: torch.nn.Module)
src/diffusers/models/modeling_utils.py:79
↓ 1 callersFunctionget_qformer
(model)
scripts/convert_blipdiffusion_to_diffusers.py:281
↓ 1 callersMethodget_query_embeddings
(self, input_image, src_subject)
src/diffusers/pipelines/blip_diffusion/pipeline_blip_diffusion.py:129
↓ 1 callersMethodget_query_embeddings
(self, input_image, src_subject)
src/diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py:140
↓ 1 callersFunctionget_refinement_mapper
(prompts, tokenizer, max_len=77)
examples/community/pipeline_prompt2prompt.py:1415
↓ 1 callersFunctionget_replacement_mapper
(prompts, tokenizer, max_len=77)
examples/community/pipeline_prompt2prompt.py:1300
↓ 1 callersFunctionget_replacement_mapper_
(x: str, y: str, tokenizer, max_len=77)
examples/community/pipeline_prompt2prompt.py:1262
↓ 1 callersMethodget_result_filepath
(self, args)
benchmarks/base_classes.py:61
↓ 1 callersMethodget_result_filepath
(self, args)
benchmarks/base_classes.py:147
↓ 1 callersMethodget_sample_input
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_inpaint.py:597
↓ 1 callersMethodget_sample_input
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_txt2img.py:582
↓ 1 callersMethodget_sample_input
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_img2img.py:597
↓ 1 callersMethodget_scalings_for_boundary_condition
Gets the scalings used in the consistency model parameterization (from Appendix C of the [paper](https://huggingface.co/papers/2303.0
src/diffusers/schedulers/scheduling_consistency_models.py:269
↓ 1 callersMethodget_scalings_for_boundary_condition_discrete
(self, timestep)
src/diffusers/schedulers/scheduling_lcm.py:492
← previousnext →2,601–2,700 of 9,976, ranked by callers