MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersMethodconvert_state_dict_legacy_attn_format
(self, state_dict, network_alphas)
src/diffusers/loaders/unet.py:378
↓ 1 callersFunctionconvert_text_enc_state_dict
(text_enc_dict)
scripts/convert_diffusers_to_original_stable_diffusion.py:280
↓ 1 callersFunctionconvert_text_enc_state_dict_v20
(text_enc_dict)
scripts/convert_diffusers_to_original_stable_diffusion.py:233
↓ 1 callersMethodconvert_to_grayscale
Converts a PIL image to grayscale format.
src/diffusers/image_processor.py:156
↓ 1 callersMethodconvert_to_pt
(self, image)
tests/pipelines/paint_by_example/test_paint_by_example.py:95
↓ 1 callersMethodconvert_to_rgb
Converts a PIL image to RGB format.
src/diffusers/image_processor.py:147
↓ 1 callersFunctionconvert_to_variant
(filename)
src/diffusers/pipelines/pipeline_loading_utils.py:183
↓ 1 callersFunctionconvert_unet_state_dict
(unet_state_dict)
scripts/convert_diffusers_to_original_sdxl.py:96
↓ 1 callersFunctionconvert_unet_state_dict
(unet_state_dict)
scripts/convert_diffusers_to_original_stable_diffusion.py:92
↓ 1 callersFunctionconvert_uvit_to_diffusers
Converts a UniDiffuser uvit_v*.pth checkpoint to a diffusers UniDiffusersModel.
scripts/convert_unidiffuser_to_diffusers.py:539
↓ 1 callersFunctionconvert_vae_state_dict
(vae_state_dict)
scripts/convert_diffusers_to_original_sdxl.py:176
↓ 1 callersFunctionconvert_vae_state_dict
(vae_state_dict)
scripts/convert_diffusers_to_original_stable_diffusion.py:179
↓ 1 callersFunctionconvert_vae_to_diffusers
Converts a UniDiffuser autoencoder_kl.pth checkpoint to a diffusers AutoencoderKL.
scripts/convert_unidiffuser_to_diffusers.py:348
↓ 1 callersFunctionconvert_vd_vae_checkpoint
(checkpoint, config)
scripts/convert_versatile_diffusion_to_diffusers.py:574
↓ 1 callersFunctionconvert_vq_autoenc_checkpoint
Takes a state dict and a config, and returns a converted checkpoint.
scripts/convert_ddpm_original_checkpoint_to_diffusers.py:235
↓ 1 callersFunctioncoords_grid
(batch, ht, wd, device)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:226
↓ 1 callersFunctioncoords_grid
(batch, ht, wd, device)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:200
↓ 1 callersFunctioncoords_grid
(b, h, w, homogeneous=False, device=None)
examples/community/rerender_a_video.py:40
↓ 1 callersMethodcopy_to
Copy current averaged parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parameter`
src/diffusers/training_utils.py:337
↓ 1 callersMethodcreate
(cls)
src/diffusers/schedulers/scheduling_karras_ve_flax.py:37
↓ 1 callersMethodcreate
(cls)
src/diffusers/schedulers/scheduling_sde_ve_flax.py:37
↓ 1 callersFunctioncreate_controller
( prompts: List[str], cross_attention_kwargs: Dict, num_inference_steps: int, tokenizer, d
examples/community/pipeline_prompt2prompt.py:842
↓ 1 callersFunctioncreate_controlnet_diffusers_config
(original_config, image_size: int)
src/diffusers/loaders/single_file_utils.py:490
↓ 1 callersFunctioncreate_diffusers_controlnet_model_from_ldm
( pipeline_class_name, original_config, checkpoint, upcast_attention=False, image_size=None, torch_dtype=N
src/diffusers/loaders/single_file_utils.py:859
↓ 1 callersFunctioncreate_diffusers_unet_model_from_ldm
( pipeline_class_name, original_config, checkpoint, num_in_channels=None, upcast_attention
src/diffusers/loaders/single_file_utils.py:1174
↓ 1 callersFunctioncreate_image_unet_diffusers_config
Creates a config for the diffusers based on the config of the VD model.
scripts/convert_versatile_diffusion_to_diffusers.py:259
↓ 1 callersFunctioncreate_ip_adapter_plus_state_dict
(model)
tests/models/unets/test_models_unet_2d_condition.py:114
↓ 1 callersFunctioncreate_ldm_bert_config
(original_config)
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py:378
↓ 1 callersFunctioncreate_ldm_bert_config
(original_config)
examples/research_projects/promptdiffusion/convert_original_promptdiffusion_to_diffusers.py:380
↓ 1 callersFunctioncreate_mask
(params, label_fn)
examples/research_projects/multi_token_textual_inversion/textual_inversion_flax.py:456
↓ 1 callersFunctioncreate_mask
(params, label_fn)
examples/textual_inversion/textual_inversion_flax.py:475
↓ 1 callersFunctioncreate_mc_lookup_table
()
scripts/convert_shap_e_to_diffusers.py:830
↓ 1 callersFunctioncreate_module_to_test_map
Extract the tests from the reverse_dependency_map and potentially filters the model tests. Args: reverse_map (`Dict[str, List[str]]`
utils/tests_fetcher.py:781
↓ 1 callersFunctioncreate_motion_field
Create translation motion field Args: motion_field_strength_x: motion strength along x-axis motion_field_strength_y: motion
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:262
↓ 1 callersFunctioncreate_motion_field
Create translation motion field Args: motion_field_strength_x: motion strength along x-axis motion_field_strength_y: motion
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:234
↓ 1 callersFunctioncreate_motion_field_and_warp_latents
Creates translation motion and warps the latents accordingly Args: motion_field_strength_x: motion strength along x-axis mot
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:286
↓ 1 callersFunctioncreate_motion_field_and_warp_latents
Creates translation motion and warps the latents accordingly Args: motion_field_strength_x: motion strength along x-axis mot
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:257
↓ 1 callersFunctioncreate_pan_cameras
(size: int)
src/diffusers/pipelines/shap_e/camera.py:122
↓ 1 callersFunctioncreate_prior_lora_layers
(unet: nn.Module)
tests/pipelines/stable_cascade/test_stable_cascade_prior.py:51
↓ 1 callersFunctioncreate_prior_lora_layers
(unet: nn.Module)
tests/pipelines/wuerstchen/test_wuerstchen_prior.py:45
↓ 1 callersFunctioncreate_reverse_dependency_tree
Create a list of all edges (a, b) which mean that modifying a impacts b with a going over all module and test files.
utils/tests_fetcher.py:620
↓ 1 callersFunctioncreate_rules_function
(rules_dict, last_lr_multiple)
src/diffusers/optimization.py:108
↓ 1 callersFunctioncreate_scheduler_from_ldm
( pipeline_class_name, original_config, checkpoint, prediction_type=None, scheduler_type="
src/diffusers/loaders/single_file_utils.py:1414
↓ 1 callersMethodcreate_state
(self, common: Optional[CommonSchedulerState] = None)
src/diffusers/schedulers/scheduling_ddim_flax.py:131
↓ 1 callersFunctioncreate_text_decoder_config
(config_type)
scripts/convert_unidiffuser_to_diffusers.py:201
↓ 1 callersFunctioncreate_text_decoder_config_big
()
scripts/convert_unidiffuser_to_diffusers.py:326
↓ 1 callersFunctioncreate_text_decoder_config_test
()
scripts/convert_unidiffuser_to_diffusers.py:259
↓ 1 callersFunctioncreate_text_encoders_and_tokenizers_from_ldm
( original_config, checkpoint, model_type=None, local_files_only=False, torch_dtype=None,
src/diffusers/loaders/single_file_utils.py:1298
↓ 1 callersFunctioncreate_text_unet_diffusers_config
Creates a config for the diffusers based on the config of the VD model.
scripts/convert_versatile_diffusion_to_diffusers.py:298
↓ 1 callersFunctioncreate_transformers_vocoder_config
Creates a config for transformers SpeechT5HifiGan based on the config of the vocoder model.
scripts/convert_original_audioldm2_to_diffusers.py:692
↓ 1 callersFunctioncreate_transformers_vocoder_config
Creates a config for transformers SpeechT5HifiGan based on the config of the vocoder model.
scripts/convert_original_audioldm_to_diffusers.py:666
↓ 1 callersFunctioncreate_transformers_vocoder_config
Creates a config for transformers SpeechT5HifiGan based on the config of the vocoder model.
scripts/convert_original_musicldm_to_diffusers.py:672
↓ 1 callersFunctioncreate_unet_config
(original_config, image_size: int, attention_type)
scripts/convert_gligen_to_diffusers.py:393
↓ 1 callersFunctioncreate_unet_diffusers_config
Creates a UNet config for diffusers based on the config of the original AudioLDM2 model.
scripts/convert_original_audioldm2_to_diffusers.py:212
↓ 1 callersFunctioncreate_unet_diffusers_config
Creates a UNet config for diffusers based on the config of the original AudioLDM model.
scripts/convert_original_audioldm_to_diffusers.py:213
↓ 1 callersFunctioncreate_unet_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
scripts/convert_zero123_to_diffusers.py:37
↓ 1 callersFunctioncreate_unet_diffusers_config
Creates a UNet config for diffusers based on the config of the original MusicLDM model.
scripts/convert_original_musicldm_to_diffusers.py:210
↓ 1 callersFunctioncreate_unet_diffusers_config
(original_unet_config, class_embed_type=None)
scripts/convert_if.py:210
↓ 1 callersFunctioncreate_unidiffuser_unet_config
(config_type, version)
scripts/convert_unidiffuser_to_diffusers.py:184
↓ 1 callersFunctioncreate_unidiffuser_unet_config_big
()
scripts/convert_unidiffuser_to_diffusers.py:296
↓ 1 callersFunctioncreate_unidiffuser_unet_config_test
()
scripts/convert_unidiffuser_to_diffusers.py:230
↓ 1 callersFunctioncreate_vae_config
(original_config, image_size: int)
scripts/convert_gligen_to_diffusers.py:371
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
src/diffusers/loaders/single_file_utils.py:513
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a VAE config for diffusers based on the config of the original AudioLDM2 model. Compared to the original Stable Diffusion conversion,
scripts/convert_original_audioldm2_to_diffusers.py:258
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a config for the diffusers based on the config of the VD model.
scripts/convert_versatile_diffusion_to_diffusers.py:337
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a VAE config for diffusers based on the config of the original AudioLDM model. Compared to the original Stable Diffusion conversion,
scripts/convert_original_audioldm_to_diffusers.py:266
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
scripts/convert_zero123_to_diffusers.py:492
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a VAE config for diffusers based on the config of the original MusicLDM model. Compared to the original Stable Diffusion conversion,
scripts/convert_original_musicldm_to_diffusers.py:263
↓ 1 callersFunctioncreate_vae_diffusers_config
(config_type)
scripts/convert_unidiffuser_to_diffusers.py:170
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
examples/research_projects/promptdiffusion/convert_original_promptdiffusion_to_diffusers.py:346
↓ 1 callersFunctioncreate_vae_diffusers_config_big
()
scripts/convert_unidiffuser_to_diffusers.py:282
↓ 1 callersFunctioncreate_vae_diffusers_config_test
()
scripts/convert_unidiffuser_to_diffusers.py:216
↓ 1 callersMethodcrop
Crop the input image to the specified dimensions.
src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:536
↓ 1 callersFunctioncross_attn_to_diffusers_checkpoint
( checkpoint, *, diffusers_attention_prefix, diffusers_attention_index, attention_prefix )
scripts/convert_k_upscaler_to_diffusers.py:65
↓ 1 callersFunctioncustom_convert_ldm_vae_checkpoint
(checkpoint, config)
scripts/convert_vae_pt_to_diffusers.py:18
↓ 1 callersMethodddim_inversion_loop
(self, latent, context)
examples/community/pipeline_null_text_inversion.py:149
↓ 1 callersMethodddim_step
(self, pred_x0, pred_noise, timestep_index)
examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:98
↓ 1 callersMethodddim_step
(self, pred_x0, pred_noise, timestep_index)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:430
↓ 1 callersMethodddim_step
(self, pred_x0, pred_noise, timestep_index)
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:440
↓ 1 callersMethodddim_step
(self, pred_x0, pred_noise, timestep_index)
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:418
↓ 1 callersMethodddim_step
(self, pred_x0, pred_noise, timestep_index)
examples/consistency_distillation/train_lcm_distill_sd_wds.py:407
↓ 1 callersMethodde_normalize
(self, x_in, key)
src/diffusers/experimental/rl/value_guided_sampling.py:74
↓ 1 callersFunctiondecimal_to_bits
expects image tensor ranging from 0 to 1, outputs bit tensor ranging from -1 to 1
examples/community/bit_diffusion.py:15
↓ 1 callersMethoddecode
(self, latents, deterministic: bool = True, return_dict: bool = True)
src/diffusers/models/vae_flax.py:849
↓ 1 callersMethoddecode
Decode a batch of images. Args: z (`torch.FloatTensor`): Input batch of latent vectors. return_dict (`bool`,
src/diffusers/models/autoencoders/autoencoder_kl.py:283
↓ 1 callersMethoddecode
Decode a batch of images. Args: z (`torch.FloatTensor`): Input batch of latent vectors. return_dict (`bool`,
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:342
↓ 1 callersMethoddecode
( self, z: torch.FloatTensor, generator: Optional[torch.Generator] = None, ima
src/diffusers/models/autoencoders/autoencoder_asym_kl.py:143
↓ 1 callersMethoddecode
( self, x: torch.FloatTensor, generator: Optional[torch.Generator] = None, return_dict: bool = True
src/diffusers/models/autoencoders/autoencoder_tiny.py:308
↓ 1 callersMethoddecode
( self, z: torch.FloatTensor, generator: Optional[torch.Generator] = None, ret
src/diffusers/models/autoencoders/consistency_decoder_vae.py:301
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:335
↓ 1 callersMethoddecode_latents
(self, latents, decode_chunk_size=None)
src/diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py:368
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:238
↓ 1 callersMethoddecode_latents
(self, latents: torch.FloatTensor, num_frames: int, decode_chunk_size: int = 14)
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:238
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:347
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:424
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:963
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_upscale.py:239
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/animatediff/pipeline_animatediff_video2video.py:502
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/animatediff/pipeline_animatediff.py:424
↓ 1 callersMethoddecode_latents
(self, latents)
src/diffusers/pipelines/pia/pipeline_pia.py:497
← previousnext →2,201–2,300 of 9,976, ranked by callers