Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ functions
Functions
9,976 in github.com/TencentARC/BrushNet
⨍
Functions
9,976
◇
Types & classes
1,590
↳
Endpoints
3
Method
run
(self)
setup.py:186
Method
run
(self)
src/diffusers/commands/fp16_safetensors.py:79
Method
run
(self)
src/diffusers/commands/__init__.py:26
Method
run_inference
(self, args)
benchmarks/base_classes.py:55
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:97
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:128
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:158
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:195
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:208
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:229
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:259
Method
run_inference
(self, pipe, args)
benchmarks/base_classes.py:294
Method
run_safety_checker
(self, image, device, dtype)
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:367
Method
run_safety_checker
(self, image, device, dtype)
examples/community/latent_consistency_interpolate.py:459
Method
run_safety_checker
(self, image, device, dtype)
examples/community/pipeline_zero1to3.py:442
Method
safety_concept
r""" Getter method for the safety concept used with SLD Returns: `str`: The text describing the safety concept
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:156
Method
sample
Args: t0: start time has shape [batch_size, *shape, 1] t1: finish time has shape [batch_size, *shape, 1]
src/diffusers/pipelines/shap_e/renderer.py:433
Method
save_function
(weights, filename)
src/diffusers/loaders/unet.py:459
Method
save_function
(weights, filename)
src/diffusers/loaders/lora.py:788
Method
save_load_local
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:275
Method
save_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
src/diffusers/loaders/lora.py:1278
Method
save_lora_weights
( self, save_directory: Union[str, os.PathLike], unet_lora_layers: Dict[str, Union[tor
examples/community/lpw_stable_diffusion_xl.py:2167
Function
save_model_hook
(models, weights, output_dir)
examples/brushnet/train_brushnet_sdxl.py:1097
Function
save_model_hook
(models, weights, output_dir)
examples/brushnet/train_brushnet.py:1015
Function
save_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth.py:949
Function
save_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth_lora_sdxl.py:1187
Function
save_model_hook
(models, weights, output_dir)
examples/dreambooth/train_dreambooth_lora.py:935
Function
save_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image_lora_sdxl.py:655
Function
save_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image.py:621
Function
save_model_hook
(models, weights, output_dir)
examples/text_to_image/train_text_to_image_sdxl.py:725
Function
save_model_hook
(models, weights, output_dir)
examples/t2i_adapter/train_t2i_adapter_sdxl.py:894
Function
save_model_hook
(models, weights, output_dir)
examples/amused/train_amused.py:509
Function
save_model_hook
(models, weights, output_dir)
examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py:1385
Function
save_model_hook
(models, weights, output_dir)
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py:1278
Function
save_model_hook
(models, weights, output_dir)
examples/controlnet/train_controlnet.py:825
Function
save_model_hook
(models, weights, output_dir)
examples/controlnet/train_controlnet_sdxl.py:892
Function
save_model_hook
(models, weights, output_dir)
examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:547
Function
save_model_hook
(models, weights, output_dir)
examples/kandinsky2_2/text_to_image/train_text_to_image_prior.py:540
Function
save_model_hook
(models, weights, output_dir)
examples/instruct_pix2pix/train_instruct_pix2pix_sdxl.py:598
Function
save_model_hook
(models, weights, output_dir)
examples/instruct_pix2pix/train_instruct_pix2pix.py:506
Function
save_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sdxl.py:881
Function
save_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py:1040
Function
save_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_sdxl_wds.py:1049
Function
save_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py:1055
Function
save_model_hook
(models, weights, output_dir)
examples/consistency_distillation/train_lcm_distill_sd_wds.py:989
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/diffusion_dpo/train_diffusion_dpo.py:588
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/diffusion_dpo/train_diffusion_dpo_sdxl.py:686
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/realfill/train_realfill.py:644
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/instructpix2pix_lora/train_instruct_pix2pix_lora.py:529
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/controlnet/train_controlnet_webdataset.py:1020
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:536
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:310
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/consistency_training/train_cm_ct_unconditional.py:954
Function
save_model_hook
(models, weights, output_dir)
examples/research_projects/multi_subject_dreambooth_inpainting/train_multi_subject_dreambooth_inpainting.py:492
Function
save_model_hook
(models, weights, output_dir)
examples/unconditional_image_generation/train_unconditional.py:300
Function
save_model_hook
(models, weights, output_dir)
examples/wuerstchen/text_to_image/train_text_to_image_prior.py:539
Function
save_model_hook
(models, weights, output_dir)
examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py:550
Method
save_pretrained
Save a model to a directory, so that it can be re-loaded using the [`~OnnxModel.from_pretrained`] class method.: Arguments:
src/diffusers/pipelines/onnx_utils.py:111
Method
save_pretrained
Save all saveable variables of the pipeline to a directory. A pipeline variable can be saved and loaded if its class implements both
src/diffusers/pipelines/pipeline_flax_utils.py:151
Method
save_pretrained
Save all saveable variables of the pipeline to a directory. A pipeline variable can be saved and loaded if its class implements both
src/diffusers/pipelines/pipeline_utils.py:178
Method
save_pretrained
Save a scheduler configuration object to a directory so that it can be reloaded using the [`~SchedulerMixin.from_pretrained`] class m
src/diffusers/schedulers/scheduling_utils.py:152
Method
save_pretrained
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the [`~FlaxSchedulerMixin.
src/diffusers/schedulers/scheduling_utils_flax.py:154
Method
save_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~models.ModelMixin.from_pretrained`] cl
src/diffusers/models/modeling_utils.py:303
Method
save_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~FlaxModelMixin.from_pretrained`] class
src/diffusers/models/modeling_flax_utils.py:502
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_pndm.py:392
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ipndm.py:196
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_sasolver.py:1083
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_lms_discrete.py:207
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm.py:236
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_sde.py:260
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_repaint.py:163
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:178
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim_parallel.py:246
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_unclip.py:149
Method
scale_model_input
Scales the consistency model input by `(sigma**2 + sigma_data**2) ** 0.5`. Args: sample (`torch.FloatTensor`):
src/diffusers/schedulers/scheduling_consistency_models.py:129
Method
scale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the Euler algorithm. Args: state (`EulerDiscreteSch
src/diffusers/schedulers/scheduling_euler_discrete_flax.py:126
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:255
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_deis_multistep.py:741
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py:128
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_edm_euler.py:164
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_pndm_flax.py:222
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_edm_dpmsolver_multistep.py:200
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_sde_ve.py:89
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:178
Method
scale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
src/diffusers/schedulers/scheduling_ddim_flax.py:155
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_consistency_decoder.py:116
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:866
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Scales the
src/diffusers/schedulers/scheduling_euler_discrete.py:275
Method
scale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
src/diffusers/schedulers/scheduling_ddpm_flax.py:125
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:615
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:980
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_unipc_multistep.py:835
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim.py:238
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddpm_parallel.py:245
Method
scale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the K-LMS algorithm. Args: state (`LMSDiscreteSched
src/diffusers/schedulers/scheduling_lms_discrete_flax.py:123
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_ddim_inverse.py:236
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:930
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_heun_discrete.py:201
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/scheduling_tcd.py:302
Method
scale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
src/diffusers/schedulers/deprecated/scheduling_karras_ve.py:99
← previous
next →
7,501–7,600 of 9,976, ranked by callers