MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersMethodget_scalings_for_boundary_condition_discrete
(self, t)
examples/community/latent_consistency_txt2img.py:583
↓ 1 callersMethodget_scalings_for_boundary_condition_discrete
(self, t)
examples/community/latent_consistency_img2img.py:682
↓ 1 callersMethodget_sd_image
(self, seed=0, shape=(4, 3, 512, 512), fp16=False)
tests/models/autoencoders/test_models_vae.py:493
↓ 1 callersMethodget_shape_dict
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_inpaint.py:590
↓ 1 callersMethodget_shape_dict
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_txt2img.py:575
↓ 1 callersMethodget_shape_dict
(self, batch_size, image_height, image_width)
examples/community/stable_diffusion_tensorrt_img2img.py:590
↓ 1 callersFunctionget_sigmas
(timesteps, n_dim=4, dtype=torch.float32)
examples/dreambooth/train_dreambooth_lora_sdxl.py:1567
↓ 1 callersFunctionget_sigmas
(timesteps, n_dim=4, dtype=torch.float32)
examples/t2i_adapter/train_t2i_adapter_sdxl.py:1037
↓ 1 callersFunctionget_sigmas
(timesteps, n_dim=4, dtype=torch.float32)
examples/research_projects/controlnet/train_controlnet_webdataset.py:1168
↓ 1 callersFunctionget_sinusoidal_embeddings
Returns the positional encoding (same as Tensor2Tensor). Args: timesteps: a 1-D Tensor of N indices, one per batch element. These
src/diffusers/models/embeddings_flax.py:20
↓ 1 callersFunctionget_stage_1_unet
(unet_config, unet_checkpoint_path)
scripts/convert_if.py:138
↓ 1 callersFunctionget_super_res_unet
(unet_checkpoint_path, verify_param_count=True, sample_size=None)
scripts/convert_if.py:718
↓ 1 callersFunctionget_switch_vec
(total_num_layers, level)
examples/community/pipeline_sdxl_style_aligned.py:169
↓ 1 callersMethodget_t_condioning
(self, t, alphas_cumprod)
src/diffusers/pipelines/stable_cascade/pipeline_stable_cascade_prior.py:342
↓ 1 callersMethodget_time_embed
( self, sample: torch.Tensor, timestep: Union[torch.Tensor, float, int] )
src/diffusers/models/unets/unet_2d_condition.py:913
↓ 1 callersFunctionget_time_words_attention_alpha
( prompts, num_steps, cross_replace_steps: Union[float, Dict[str, Tuple[float, float]]], token
examples/community/pipeline_prompt2prompt.py:1215
↓ 1 callersMethodget_timestep_start
(self, num_inference_steps, strength)
src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:225
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:624
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:1004
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:506
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:86
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:999
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:697
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:798
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:879
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_controlnet_img2img.py:154
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py:146
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_img2img.py:127
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:463
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:700
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py:900
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:718
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:636
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:804
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:727
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py:139
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_cycle_diffusion.py:562
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_inpaint_legacy.py:532
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/deprecated/alt_diffusion/pipeline_alt_diffusion_img2img.py:629
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
src/diffusers/pipelines/pia/pipeline_pia.py:720
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/clip_guided_images_mixing_stable_diffusion.py:128
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
examples/community/pipeline_sdxl_style_aligned.py:864
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/clip_guided_stable_diffusion_img2img.py:178
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, is_text2img)
examples/community/lpw_stable_diffusion_onnx.py:562
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/ddim_noise_comparative_analysis.py:70
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/run_onnx_controlnet.py:447
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
examples/community/lpw_stable_diffusion_xl.py:1005
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, denoising_start=None)
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py:1050
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/stable_diffusion_controlnet_inpaint_img2img.py:597
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/stable_diffusion_controlnet_img2img.py:524
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device, is_text2img)
examples/community/lpw_stable_diffusion.py:664
↓ 1 callersMethodget_timesteps
(self, num_inference_steps, strength, device)
examples/community/run_tensorrt_controlnet.py:551
↓ 1 callersFunctionget_traceback_matrix
(size_x, size_y)
examples/community/pipeline_prompt2prompt.py:1347
↓ 1 callersFunctionget_train_dataset
(args, accelerator)
examples/t2i_adapter/train_t2i_adapter_sdxl.py:623
↓ 1 callersFunctionget_train_dataset
(args, accelerator)
examples/controlnet/train_controlnet_sdxl.py:625
↓ 1 callersFunctionget_transformers_submodules
Returns the list of Transformers submodules.
utils/check_inits.py:241
↓ 1 callersFunctionget_tree_starting_at
Returns the tree starting at a given module following all edges. Args: module (`str`): The module that will be the root of the subtr
utils/tests_fetcher.py:632
↓ 1 callersMethodget_unet_hidden_states
(self, z_all, t, prompt_embd)
examples/community/pipeline_fabric.py:347
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:109
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
src/diffusers/pipelines/audioldm2/modeling_audioldm2.py:930
↓ 1 callersFunctionget_up_block
( up_block_type: str, num_layers: int, in_channels: int, out_channels: int, temb_channels: int, add_upsamp
src/diffusers/models/unet_1d_blocks.py:145
↓ 1 callersFunctionget_up_block_types
(original_decoder_config)
scripts/convert_vq_diffusion_to_diffusers.py:125
↓ 1 callersMethodget_views
(self, panorama_height, panorama_width, window_size=64, stride=8, circular_padding=False)
src/diffusers/pipelines/stable_diffusion_panorama/pipeline_stable_diffusion_panorama.py:583
↓ 1 callersMethodget_w_embedding
see https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps: t
examples/community/latent_consistency_txt2img.py:175
↓ 1 callersMethodget_w_embedding
see https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps: t
examples/community/latent_consistency_img2img.py:246
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
examples/community/lpw_stable_diffusion_onnx.py:265
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
examples/community/lpw_stable_diffusion.py:237
↓ 1 callersFunctionget_weighted_text_embeddings_sdxl
This function can process long prompt with weights, no length limitation for Stable Diffusion XL Args: pipe (StableDiffusionPipe
examples/community/lpw_stable_diffusion_xl.py:255
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py:289
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:251
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py:291
↓ 1 callersFunctionglobal_align
(x, y, score)
examples/community/pipeline_prompt2prompt.py:1355
↓ 1 callersFunctiongrab_wildcard_values
(wildcard_option_dict: Dict[str, List[str]] = {}, wildcard_files: List[str] = [])
examples/community/wildcard_stable_diffusion.py:35
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:104
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:92
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:110
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
examples/consistency_distillation/train_lcm_distill_sd_wds.py:86
↓ 1 callersFunctiongroup_by_keys_nothrow
Return function over iterator that groups key, value pairs into samples. :param keys: function that splits the key into key and extension (base_p
examples/research_projects/controlnet/train_controlnet_webdataset.py:85
↓ 1 callersFunctionguidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps (`torch.T
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:390
↓ 1 callersFunctionguidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timesteps (`torch.T
examples/consistency_distillation/train_lcm_distill_sd_wds.py:298
↓ 1 callersFunctiongumbel_noise
(t, generator=None)
src/diffusers/schedulers/scheduling_amused.py:12
↓ 1 callersFunctiongumbel_noised
Apply gumbel noise to `logits`
src/diffusers/schedulers/scheduling_vq_diffusion.py:62
↓ 1 callersFunctionhas_previous_benchmark
()
benchmarks/push_results.py:13
↓ 1 callersFunctionignore_unautoclassed
Rules to determine if `name` should be in an auto class.
utils/check_repo.py:431
↓ 1 callersFunctionignore_underscore_and_lowercase
Wraps a key function (as used in a sort) to lowercase and ignore underscores.
utils/custom_init_isort.py:131
↓ 1 callersFunctionignore_undocumented
Rules to determine if `name` should be undocumented.
utils/check_repo.py:615
↓ 1 callersMethodimage2latent
(self, image_path)
examples/community/pipeline_null_text_inversion.py:73
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
examples/brushnet/train_brushnet.py:60
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
examples/t2i_adapter/train_t2i_adapter_sdxl.py:68
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
examples/controlnet/train_controlnet.py:68
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
examples/research_projects/controlnet/train_controlnet_webdataset.py:308
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:55
↓ 1 callersMethodimage_to_audio
Converts spectrogram to audio. Args: image (`PIL Image`): An grayscale image of `x_res x y_res`. Returns
src/diffusers/pipelines/deprecated/audio_diffusion/mel.py:162
↓ 1 callersMethodimage_to_tensor
Convert latent PIL image to a torch tensor for further processing.
examples/community/pipeline_fabric.py:742
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
examples/brushnet/train_brushnet.py:179
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
examples/custom_diffusion/train_custom_diffusion.py:113
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
examples/dreambooth/train_dreambooth.py:207
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
examples/dreambooth/train_dreambooth_lora.py:184
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
( pretrained_model_name_or_path: str, revision: str, subfolder: str = "text_encoder" )
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:208
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
examples/controlnet/train_controlnet.py:190
← previousnext →2,701–2,800 of 9,976, ranked by callers