MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Functionpreprocess_train
(examples)
examples/controlnet/train_controlnet.py:699
Functionpreprocess_train
(examples)
examples/controlnet/train_controlnet_sdxl.py:748
Functionpreprocess_train
(examples)
examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:654
Functionpreprocess_train
(examples)
examples/kandinsky2_2/text_to_image/train_text_to_image_prior.py:661
Functionpreprocess_train
(examples)
examples/kandinsky2_2/text_to_image/train_text_to_image_lora_prior.py:518
Functionpreprocess_train
(examples)
examples/kandinsky2_2/text_to_image/train_text_to_image_lora_decoder.py:504
Functionpreprocess_train
(examples)
examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:893
Functionpreprocess_train
(examples)
examples/instruct_pix2pix/train_instruct_pix2pix.py:657
Functionpreprocess_train
(examples)
examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:1020
Functionpreprocess_train
(examples)
examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:676
Functionpreprocess_train
(examples)
examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py:769
Functionpreprocess_train
(examples)
examples/research_projects/lora/train_text_to_image_lora.py:674
Functionpreprocess_train
(examples)
examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:681
Functionpreprocess_train
(examples)
examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:681
Functionpreprocess_train
(examples)
examples/wuerstchen/text_to_image/train_text_to_image_prior.py:672
Functionpreprocess_train
(examples)
examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py:689
Methodprevious_timestep
(self, timestep)
src/diffusers/schedulers/scheduling_tcd.py:675
Methodprocess
(text: str)
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py:529
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:224
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if.py:431
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:182
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:475
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:226
Methodprocess
(text: str)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:515
Functionprocess_example
(input_image, prompt, input_mask, original_image, selected_points,result_gallery)
examples/brushnet/app_brushnet.py:227
Methodprocess_weights
(adapter_names, weights)
src/diffusers/loaders/lora.py:979
Functionprograms_to_midi_classes
Modifies program events to be the first program in the MIDI class.
src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:234
Methodprogress_bar
(self, iterable)
src/diffusers/pipelines/pipeline_flax_utils.py:605
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:429
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_combined.py:667
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:423
Methodprogress_bar
(self, iterable=None, total=None)
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:663
Functionpt_to_pil
Convert a torch image to a PIL image.
src/diffusers/utils/pil_utils.py:27
Functionpytest_addoption
(parser)
tests/conftest.py:33
Functionpytest_addoption
(parser)
examples/conftest.py:34
Functionpytest_terminal_summary
(terminalreporter)
tests/conftest.py:39
Functionpytest_terminal_summary
(terminalreporter)
examples/conftest.py:40
Methodrandom_variance
()
src/diffusers/schedulers/scheduling_ddpm_flax.py:266
Functionrearrange_0
(tensor, f)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:51
Functionrearrange_0
(tensor, f)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:27
Functionrearrange_1
(tensor)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:58
Functionrearrange_1
(tensor)
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:33
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_edm_euler.py:149
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_schedulers.py:601
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:185
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:473
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_flax.py:685
Methodrecursive_check
(tuple_object, dict_object)
tests/schedulers/test_scheduler_lcm.py:165
Methodrecursive_check
(tuple_object, dict_object)
tests/models/test_modeling_common.py:588
Methodrecursive_find_attn_block
(name, module)
src/diffusers/models/modeling_utils.py:932
Methodregister_modules
(self, **kwargs)
src/diffusers/pipelines/pipeline_flax_utils.py:118
Methodregister_norm_forward
(norm_layer: Union[nn.GroupNorm, nn.LayerNorm])
examples/community/pipeline_sdxl_style_aligned.py:1210
Methodregister_subcommand
(parser: ArgumentParser)
src/diffusers/commands/fp16_safetensors.py:46
Methodregister_subcommand
(parser: ArgumentParser)
src/diffusers/commands/__init__.py:22
Functionregister_to_config
r""" Decorator to apply on the init of classes inheriting from [`ConfigMixin`] so that all the arguments are automatically sent to `self.regis
src/diffusers/configuration_utils.py:608
Methodremap_key
(key, state_dict)
src/diffusers/loaders/utils.py:41
Methodremap_key
(key, sd)
tests/lora/test_lora_layers_peft.py:2160
Methodremove_all_hooks
(self)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py:73
Methodremove_all_hooks
(self)
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:95
Methodremove_all_hooks
(self)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:195
Methodremove_all_hooks
(self)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:153
Methodremove_all_hooks
(self)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:184
Methodremove_all_hooks
(self)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:197
Methodremove_all_hooks
(self)
src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:187
Functionremove_handler
removes given handler from the HuggingFace Diffusers' root logger.
src/diffusers/utils/logging.py:211
Methodremove_unused_weights
(self)
src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py:106
Methodremove_unused_weights
(self)
src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py:104
Methodrenderer_dim
(self)
tests/pipelines/shap_e/test_shap_e.py:58
Methodrenderer_dim
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:66
Methodreplace_cross_attention
(self, attn_base, att_replace)
examples/community/pipeline_prompt2prompt.py:1110
Methodreplace_cross_attention
(self, attn_base, att_replace)
examples/community/pipeline_prompt2prompt.py:1166
Functionreplace_example_docstring
(example_docstring)
src/diffusers/utils/doc_utils.py:20
Functionrequire_compel
Decorator marking a test that requires compel: https://github.com/damian0815/compel. These tests are skipped when the library is not installe
src/diffusers/utils/testing_utils.py:266
Functionrequire_flax
Decorator marking a test that requires JAX & Flax. These tests are skipped when one / both are not installed
src/diffusers/utils/testing_utils.py:259
Functionrequire_note_seq
Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
src/diffusers/utils/testing_utils.py:281
Functionrequire_onnxruntime
Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed.
src/diffusers/utils/testing_utils.py:274
Functionrequire_peft_backend
Decorator marking a test that requires PEFT backend, this would require some specific versions of PEFT and transformers.
src/diffusers/utils/testing_utils.py:295
Functionrequire_peft_version_greater
Decorator marking a test that requires PEFT backend with a specific version, this would require some specific versions of PEFT and transforme
src/diffusers/utils/testing_utils.py:303
Functionrequire_python39_or_higher
(test_case)
src/diffusers/utils/testing_utils.py:327
Functionrequire_torch
Decorator marking a test that requires PyTorch. These tests are skipped when PyTorch isn't installed.
src/diffusers/utils/testing_utils.py:201
Functionrequire_torch_2
Decorator marking a test that requires PyTorch 2. These tests are skipped when it isn't installed.
src/diffusers/utils/testing_utils.py:208
Functionrequire_torch_accelerator
Decorator marking a test that requires an accelerator backend and PyTorch.
src/diffusers/utils/testing_utils.py:225
Functionrequire_torch_accelerator_with_fp16
Decorator marking a test that requires an accelerator with support for the FP16 data type.
src/diffusers/utils/testing_utils.py:232
Functionrequire_torch_accelerator_with_fp64
Decorator marking a test that requires an accelerator with support for the FP64 data type.
src/diffusers/utils/testing_utils.py:239
Functionrequire_torch_accelerator_with_training
Decorator marking a test that requires an accelerator with support for training.
src/diffusers/utils/testing_utils.py:246
Functionrequire_torch_gpu
Decorator marking a test that requires CUDA and PyTorch.
src/diffusers/utils/testing_utils.py:217
Functionrequire_torchsde
Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.
src/diffusers/utils/testing_utils.py:288
Functionrescale_noise_cfg
Rescale `noise_cfg` according to `guidance_rescale`. Based on findings of [Common Diffusion Noise Schedules and Sample Steps are Flawed](ht
examples/community/instaflow_one_step.py:41
Methodreset
(self)
src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:117
Methodreset
(self)
examples/community/pipeline_prompt2prompt.py:952
Methodreset
(self)
examples/community/pipeline_prompt2prompt.py:1000
Functionreset_format
Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.
src/diffusers/utils/logging.py:254
Methodreset_mode
r"""Removes a manually set mode; after calling this, the pipeline will infer the mode from inputs.
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:268
Methodresize_image
Creates a new camera for the resized view assuming the aspect ratio does not change.
src/diffusers/pipelines/shap_e/camera.py:105
Methodretrieve_imgs
(self, embeddings: np.ndarray, k: int)
examples/research_projects/rdm/retriever.py:179
Methodretrieve_imgs_batch
(self, embeddings: np.ndarray, k: int)
examples/research_projects/rdm/retriever.py:182
Methodretrieve_indices
(self, embeddings: np.ndarray, k: int)
examples/research_projects/rdm/retriever.py:185
Methodretrieve_indices_batch
(self, embeddings: np.ndarray, k: int)
examples/research_projects/rdm/retriever.py:188
Methodretrieve_mask
(x)
src/diffusers/pipelines/free_init_utils.py:93
Functionrule_func
(steps: int)
src/diffusers/optimization.py:109
← previousnext →7,401–7,500 of 9,976, ranked by callers