MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersFunctiongemini_zero_dpp
(model: torch.nn.Module, placememt_policy: str = "auto")
examples/research_projects/colossalai/train_dreambooth_colossalai.py:347
↓ 1 callersMethodgen_c_embeddings
(self, clip)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:157
↓ 1 callersMethodgen_r_embedding
(self, r, max_positions=10000)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_prior.py:147
↓ 1 callersMethodgen_r_embedding
(self, r, max_positions=10000)
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py:146
↓ 1 callersMethodgenerate_beam
Generates text using the given tokenizer and text prompt or token embedding via beam search. This implementation is based on the beam
src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:202
↓ 1 callersMethodgenerate_captions
Generate captions given text embedding features. Returns list[L]. Args: features (`torch.Tensor` of shape `(B, L, D)`):
src/diffusers/pipelines/unidiffuser/modeling_text_decoder.py:170
↓ 1 callersFunctiongenerate_images
( pipeline, prompt="robotic cat with wings", guidance_scale=7.5, num_inference_steps=50, n
examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:68
↓ 1 callersFunctiongenerate_timestep_weights
(args, num_timesteps)
examples/text_to_image/train_text_to_image_sdxl.py:541
↓ 1 callersFunctiongenerate_validation_images
( text_encoder: Module, tokenizer: Module, unet: Module, vae: Module, arguments: argparse.
examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:76
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
src/diffusers/models/embeddings.py:92
↓ 1 callersMethodget_adjacent_sigma
(self, state, timesteps, t)
src/diffusers/schedulers/scheduling_sde_ve_flax.py:164
↓ 1 callersMethodget_adjacent_sigma
(self, timesteps, t)
src/diffusers/schedulers/scheduling_sde_ve.py:153
↓ 1 callersFunctionget_aligned_sequences
(x, y, trace_back)
examples/community/pipeline_prompt2prompt.py:1373
↓ 1 callersFunctionget_all_auto_configured_models
Return the list of all models in at least one auto class.
utils/check_repo.py:417
↓ 1 callersFunctionget_all_doctest_files
Return the complete list of python and Markdown files on which we run doctest. At this moment, we restrict this to only take files from `src
utils/tests_fetcher.py:351
↓ 1 callersMethodget_alpha
(self, image_only_indicator: torch.Tensor, ndims: int)
src/diffusers/models/resnet.py:785
↓ 1 callersFunctionget_args
()
scripts/convert_animatediff_motion_module_to_diffusers.py:27
↓ 1 callersFunctionget_args
()
scripts/convert_animatediff_motion_lora_to_diffusers.py:26
↓ 1 callersFunctionget_asymmetric_autoencoder_kl_from_original_checkpoint
( scale: Literal["1.5", "2"], original_checkpoint_path: str, map_location: torch.device )
scripts/convert_asymmetric_vqgan_to_diffusers.py:123
↓ 1 callersFunctionget_attn_maps
(self, attn)
examples/community/regional_prompting_stable_diffusion.py:485
↓ 1 callersMethodget_audio_slice
Get slice of audio. Args: slice (`int`): Slice number of audio (out of `get_number_of_slices()`). Return
src/diffusers/pipelines/deprecated/audio_diffusion/mel.py:121
↓ 1 callersMethodget_aug_embed
( self, emb: torch.Tensor, encoder_hidden_states: torch.Tensor, added_cond_kwargs: Dict[str, Any]
src/diffusers/models/unets/unet_2d_condition.py:955
↓ 1 callersMethodget_average_attention
(self)
src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:101
↓ 1 callersFunctionget_cached_module_file
Prepares Downloads a module from a local folder or a distant repo and returns its path inside the cached Transformers module. Args:
src/diffusers/utils/dynamic_modules_utils.py:199
↓ 1 callersMethodget_camera_rays
(self, coords: torch.Tensor)
src/diffusers/pipelines/shap_e/camera.py:76
↓ 1 callersMethodget_class_embed
(self, sample: torch.Tensor, class_labels: Optional[torch.Tensor])
src/diffusers/models/unets/unet_2d_condition.py:939
↓ 1 callersFunctionget_class_in_module
Import a module on the cache directory for modules and extract a class from it.
src/diffusers/utils/dynamic_modules_utils.py:159
↓ 1 callersFunctionget_class_obj_and_candidates
Simple helper method to retrieve class object of module as well as potential parent class objects
src/diffusers/pipelines/pipeline_loading_utils.py:268
↓ 1 callersMethodget_clip_embeddings
(self, clip_txt_pooled, clip_txt=None, clip_img=None)
src/diffusers/models/unets/unet_stable_cascade.py:436
↓ 1 callersMethodget_coefficients_exponential_negative
Calculate the integral of exp(-x) * x^order dx from interval_start to interval_end
src/diffusers/schedulers/scheduling_sasolver.py:491
↓ 1 callersMethodget_coefficients_exponential_positive
Calculate the integral of exp(x(1+tau^2)) * x^order dx from interval_start to interval_end
src/diffusers/schedulers/scheduling_sasolver.py:515
↓ 1 callersFunctionget_crash_schedule
(t)
scripts/convert_dance_diffusion_to_diffusers.py:56
↓ 1 callersMethodget_cross_attention_kwargs_with_grounded
Prepare the cross-attention kwargs containing information about the grounded input (boxes, mask, image embedding, phrases embedding).
src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:596
↓ 1 callersMethodget_cross_attention_kwargs_without_grounded
Prepare the cross-attention kwargs without information about the grounded input (boxes, mask, image embedding, phrases embedding) (Al
src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:660
↓ 1 callersFunctionget_dataset_with_emb_from_clip_model
( dataset, clip_model, feature_extractor, image_column="image", index_name="embeddings" )
examples/research_projects/rdm/retriever.py:241
↓ 1 callersMethodget_decay
Compute the decay factor for the exponential moving average.
src/diffusers/training_utils.py:280
↓ 1 callersMethodget_decay
Compute the decay factor for the exponential moving average.
examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:282
↓ 1 callersFunctionget_default_scheduler_config
()
src/diffusers/loaders/single_file_utils.py:342
↓ 1 callersMethodget_default_steps
Returns default number of steps recommended for inference. Returns: `int`: The number of steps.
src/diffusers/pipelines/deprecated/audio_diffusion/pipeline_audio_diffusion.py:61
↓ 1 callersFunctionget_diffusers_versions
()
src/diffusers/utils/dynamic_modules_utils.py:44
↓ 1 callersFunctionget_discretized_lognormal_weights
Calculates the unnormalized weights for a 1D array of noise level sigma_i based on the discretized lognormal" " distribution used in the iCT
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:129
↓ 1 callersFunctionget_down_block
( down_block_type, num_layers, in_channels, out_channels, temb_channels, add_downsampl
src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:44
↓ 1 callersFunctionget_down_block
( down_block_type, num_layers, in_channels, out_channels, temb_channels, add_downsampl
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:873
↓ 1 callersFunctionget_down_block_types
(original_encoder_config)
scripts/convert_vq_diffusion_to_diffusers.py:104
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/latent_diffusion/test_latent_diffusion.py:54
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:48
↓ 1 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:341
↓ 1 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:364
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_attend_and_excite.py:68
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_inpaint.py:59
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/text_to_video_synthesis/test_video_to_video.py:70
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/text_to_video_synthesis/test_text_to_video.py:63
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/dance_diffusion/test_dance_diffusion.py:45
↓ 1 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
tests/pipelines/kandinsky3/test_kandinsky3.py:86
↓ 1 callersMethodget_dummy_components
(self, time_cond_proj_dim=None)
tests/pipelines/kandinsky3/test_kandinsky3_img2img.py:97
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/blipdiffusion/test_blipdiffusion.py:63
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:483
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/controlnet/test_controlnet_blip_diffusion.py:71
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:119
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky.py:182
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_controlnet_img2img.py:138
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py:118
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py:197
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_controlnet.py:137
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_prior.py:131
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_prior_emb2emb.py:147
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/dit/test_dit.py:47
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/ddim/test_ddim.py:42
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/stable_cascade/test_stable_cascade_decoder.py:134
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky/test_kandinsky_inpaint.py:137
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky/test_kandinsky_img2img.py:145
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky/test_kandinsky_prior.py:130
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/kandinsky/test_kandinsky_prior.py:187
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py:54
↓ 1 callersMethodget_dummy_components
(self)
tests/pipelines/wuerstchen/test_wuerstchen_decoder.py:114
↓ 1 callersMethodget_dummy_inputs
(self)
tests/others/test_ema.py:44
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/latent_diffusion/test_latent_diffusion.py:106
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:105
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_attend_and_excite.py:130
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_inpaint.py:115
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/text_to_video_synthesis/test_video_to_video.py:132
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/text_to_video_synthesis/test_text_to_video.py:121
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/dance_diffusion/test_dance_diffusion.py:69
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky3/test_kandinsky3.py:123
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky3/test_kandinsky3_img2img.py:134
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/blipdiffusion/test_blipdiffusion.py:155
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/controlnet/test_controlnet_blip_diffusion.py:173
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:143
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky2_2/test_kandinsky.py:133
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky2_2/test_kandinsky_img2img.py:144
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky2_2/test_kandinsky_prior.py:157
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/dit/test_dit.py:68
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/ddim/test_ddim.py:57
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky/test_kandinsky_inpaint.py:165
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky/test_kandinsky.py:162
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky/test_kandinsky_img2img.py:175
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0)
tests/pipelines/kandinsky/test_kandinsky_prior.py:156
↓ 1 callersMethodget_dummy_inputs
(self, device, seed=0, pil_image=True)
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py:149
↓ 1 callersMethodget_dummy_inputs_2images
(self, device, seed=0, img_res=64)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:197
↓ 1 callersMethodget_dummy_inputs_2images
(self, device, seed=0, img_res=64)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:448
← previousnext →2,501–2,600 of 9,976, ranked by callers