MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, resol
src/diffusers/models/unets/unet_2d_blocks.py:3458
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, resol
src/diffusers/models/unets/unet_2d_blocks.py:3547
Method__init__
( self, dim: int, num_attention_heads: int, attention_head_dim: int, d
src/diffusers/models/unets/unet_2d_blocks.py:3718
Method__init__
Container to store AnimateDiff Motion Modules Args: block_out_channels (`Tuple[int]`, *optional*, defaults to `(320, 640, 1280, 1
src/diffusers/models/unets/unet_motion_model.py:84
Method__init__
( self, sample_size: Optional[int] = None, in_channels: int = 4, out_channels:
src/diffusers/models/unets/unet_motion_model.py:189
Method__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
src/diffusers/models/unets/unet_3d_blocks.py:306
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/diffusers/models/unets/unet_3d_blocks.py:440
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/diffusers/models/unets/unet_3d_blocks.py:582
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
src/diffusers/models/unets/unet_3d_blocks.py:671
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/diffusers/models/unets/unet_3d_blocks.py:931
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, dropo
src/diffusers/models/unets/unet_3d_blocks.py:1051
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
src/diffusers/models/unets/unet_3d_blocks.py:1239
Method__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
src/diffusers/models/unets/unet_3d_blocks.py:1435
Method__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
src/diffusers/models/unets/unet_3d_blocks.py:1573
Method__init__
( self, in_channels: int, out_channels: int, attention_head_dim: int = 512,
src/diffusers/models/unets/unet_3d_blocks.py:1746
Method__init__
( self, in_channels: int, out_channels: int, num_layers: int = 1, add_
src/diffusers/models/unets/unet_3d_blocks.py:1809
Method__init__
( self, in_channels: int, temb_channels: int, num_layers: int = 1, tra
src/diffusers/models/unets/unet_3d_blocks.py:1859
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, num_l
src/diffusers/models/unets/unet_3d_blocks.py:1969
Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, num_l
src/diffusers/models/unets/unet_3d_blocks.py:2059
Method__init__
( self, in_channels: int, prev_output_channel: int, out_channels: int,
src/diffusers/models/unets/unet_3d_blocks.py:2181
Method__init__
( self, in_channels: int, out_channels: int, prev_output_channel: int,
src/diffusers/models/unets/unet_3d_blocks.py:2270
Method__init__
( self, sample_size: Optional[int] = None, in_channels: int = 8, out_channels:
src/diffusers/models/unets/unet_spatio_temporal_condition.py:70
Method__init__
( self, sample_size: Optional[Union[int, Tuple[int, int]]] = None, in_channels: int =
src/diffusers/models/unets/unet_2d.py:93
Method__init__
(self, encoder_hid_dim, cross_attention_dim)
src/diffusers/models/unets/unet_kandinsky3.py:38
Method__init__
( self, in_channels, cat_dim, out_channels, time_embed_dim, co
src/diffusers/models/unets/unet_kandinsky3.py:255
Method__init__
( self, in_channels, out_channels, time_embed_dim, context_dim=None,
src/diffusers/models/unets/unet_kandinsky3.py:326
Method__init__
(self, groups, normalized_shape, context_dim)
src/diffusers/models/unets/unet_kandinsky3.py:394
Method__init__
(self, in_channels, out_channels, time_embed_dim, kernel_size=3, norm_groups=32, up_resolution=None)
src/diffusers/models/unets/unet_kandinsky3.py:413
Method__init__
( self, in_channels, out_channels, time_embed_dim, norm_groups=32, compression_ratio=2, up_resolutions
src/diffusers/models/unets/unet_kandinsky3.py:440
Method__init__
(self, num_channels, context_dim, head_dim=64)
src/diffusers/models/unets/unet_kandinsky3.py:484
Method__init__
(self, num_channels, time_embed_dim, context_dim=None, norm_groups=32, head_dim=64, expansion_ratio=4)
src/diffusers/models/unets/unet_kandinsky3.py:501
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, down_block_types: Tuple[s
src/diffusers/models/autoencoders/autoencoder_kl.py:70
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, up_block_types: Tuple[str
src/diffusers/models/autoencoders/vae.py:208
Method__init__
( self, in_channels: int, out_channels: int, )
src/diffusers/models/autoencoders/vae.py:362
Method__init__
( self, in_ch: int, out_ch: int = 192, res_ch: int = 768, stride: int
src/diffusers/models/autoencoders/vae.py:384
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, up_block_types: Tuple[str
src/diffusers/models/autoencoders/vae.py:455
Method__init__
( self, n_e: int, vq_embed_dim: int, beta: float, remap=None,
src/diffusers/models/autoencoders/vae.py:656
Method__init__
(self, parameters: torch.Tensor, deterministic: bool = False)
src/diffusers/models/autoencoders/vae.py:770
Method__init__
( self, in_channels: int, out_channels: int, num_blocks: Tuple[int, ...],
src/diffusers/models/autoencoders/vae.py:843
Method__init__
( self, in_channels: int, out_channels: int, num_blocks: Tuple[int, ...],
src/diffusers/models/autoencoders/vae.py:921
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, down_block_types: Tuple[s
src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py:197
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, down_block_types: Tuple[s
src/diffusers/models/autoencoders/autoencoder_asym_kl.py:64
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, encoder_block_out_channel
src/diffusers/models/autoencoders/autoencoder_tiny.py:98
Method__init__
( self, scaling_factor: float = 0.18215, latent_channels: int = 4, encoder_act
src/diffusers/models/autoencoders/consistency_decoder_vae.py:71
Method__init__
( self, value_function: UNet1DModel, unet: UNet1DModel, scheduler: DDPMSchedul
src/diffusers/experimental/rl/value_guided_sampling.py:44
Method__init__
( self, unet, controlnets: ControlNetModel, )
scripts/convert_stable_diffusion_controlnet_to_onnx.py:81
Method__init__
( self, unet, controlnets: ControlNetModel, )
scripts/convert_stable_diffusion_controlnet_to_onnx.py:132
Method__init__
(self, device="cuda:0", download_root=os.path.expanduser("~/.cache/clip"))
scripts/convert_consistency_decoder.py:82
Method__init__
(self, n_time=1024, n_emb=320, n_out=1280)
scripts/convert_consistency_decoder.py:214
Method__init__
(self, in_channels=7, out_channels=320)
scripts/convert_consistency_decoder.py:228
Method__init__
(self, in_channels=320, out_channels=6)
scripts/convert_consistency_decoder.py:237
Method__init__
(self, in_features=320, out_features=320)
scripts/convert_consistency_decoder.py:247
Method__init__
(self, in_channels=320)
scripts/convert_consistency_decoder.py:277
Method__init__
(self)
scripts/convert_consistency_decoder.py:337
Method__init__
(self, global_args)
scripts/convert_dance_diffusion_to_diffusers.py:67
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", e=[1, 3], )
tests/others/test_config.py:36
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", f=[1, 3], )
tests/others/test_config.py:51
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", e=[1, 3],
tests/others/test_config.py:66
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", e=[1, 5],
tests/others/test_config.py:82
Method__init__
(self, encoder: CustomEncoder, scheduler: DDIMScheduler)
tests/pipelines/test_pipelines.py:140
Method__init__
(self)
tests/pipelines/test_pipelines.py:1132
Method__init__
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:467
Method__init__
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:765
Method__init__
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:964
Method__init__
(self)
tests/pipelines/stable_diffusion_safe/test_safe_diffusion.py:94
Method__init__
(self)
tests/pipelines/semantic_stable_diffusion/test_semantic_diffusion.py:103
Method__init__
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py:345
Method__init__
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:719
Method__init__
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:345
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", e=[1, 3], )
tests/schedulers/test_schedulers.py:59
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", f=[1, 3], )
tests/schedulers/test_schedulers.py:74
Method__init__
( self, a=2, b=5, c=(2, 5), d="for diffusion", e=[1, 3],
tests/schedulers/test_schedulers.py:89
Method__init__
(self, num)
tests/models/unets/test_models_unet_2d_condition.py:523
Method__init__
(self, unet, scheduler)
tests/fixtures/custom_pipeline/pipeline.py:36
Method__init__
(self, unet, scheduler)
tests/fixtures/custom_pipeline/what_ever.py:36
Method__init__
(self, device,ckpt_path="data/ckpt")
examples/brushnet/evaluate_brushnet.py:39
Method__init__
(self,resolution,text_encoders, tokenizers, random_mask)
examples/brushnet/train_brushnet_sdxl.py:800
Method__init__
(self,resolution,tokenizer,random_mask)
examples/brushnet/train_brushnet.py:615
Method__init__
(self, prompt, num_samples)
examples/custom_diffusion/train_custom_diffusion.py:157
Method__init__
( self, concepts_list, tokenizer, size=512, mask_size=64, cent
examples/custom_diffusion/train_custom_diffusion.py:177
Method__init__
( self, instance_data_root, instance_prompt, tokenizer, class_data_roo
examples/dreambooth/train_dreambooth.py:616
Method__init__
(self, prompt, num_samples)
examples/dreambooth/train_dreambooth.py:747
Method__init__
( self, instance_data_root, instance_prompt, tokenizer, class_data_roo
examples/dreambooth/train_dreambooth_flax.py:226
Method__init__
(self, prompt, num_samples)
examples/dreambooth/train_dreambooth_flax.py:306
Method__init__
( self, instance_data_root, instance_prompt, class_prompt, class_data_
examples/dreambooth/train_dreambooth_lora_sdxl.py:696
Method__init__
(self, prompt, num_samples)
examples/dreambooth/train_dreambooth_lora_sdxl.py:898
Method__init__
( self, instance_data_root, instance_prompt, tokenizer, class_data_roo
examples/dreambooth/train_dreambooth_lora.py:556
Method__init__
(self, prompt, num_samples)
examples/dreambooth/train_dreambooth_lora.py:685
Method__init__
( self, instance_data_root, tokenizer, size=512, )
examples/amused/train_amused.py:302
Method__init__
( self, instance_data_image, train_batch_size, size=512, )
examples/amused/train_amused.py:326
Method__init__
( self, hf_dataset, tokenizer, image_key, prompt_key, prompt_p
examples/amused/train_amused.py:345
Method__init__
(self, text_encoders, tokenizers)
examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:722
Method__init__
( self, instance_data_root, instance_prompt, class_prompt, dataset_nam
examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:825
Method__init__
(self, prompt, num_samples)
examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:1058
Method__init__
(self, text_encoders, tokenizers)
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:713
Method__init__
( self, instance_data_root, instance_prompt, class_prompt, dataset_nam
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:817
Method__init__
(self, prompt, num_samples)
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:986
Method__init__
(self, alpha_cumprods, timesteps=1000, ddim_timesteps=50)
examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:78
Method__init__
(self, min_size=1024, max_pwatermark=0.5)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:141
Method__init__
( self, train_shards_path_or_url: Union[str, List[str]], num_train_examples: int,
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:161
← previousnext →4,801–4,900 of 9,976, ranked by callers