MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_deis_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:26
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_consistency_decoder.py:14
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_euler_discrete.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_unipc_multistep.py:30
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_utils_flax.py:196
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddim.py:51
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddpm_parallel.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_ddim_inverse.py:49
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:32
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
src/diffusers/schedulers/scheduling_tcd.py:52
↓ 1 callersFunctionbetas_for_alpha_bar
(num_diffusion_timesteps, alpha_bar, max_beta=0.999)
scripts/convert_consistency_decoder.py:33
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
examples/community/latent_consistency_txt2img.py:321
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
examples/community/scheduling_ufogen.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
examples/community/latent_consistency_img2img.py:413
↓ 1 callersMethodbetween_steps
(self)
src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:97
↓ 1 callersMethodbetween_steps
(self)
examples/community/pipeline_prompt2prompt.py:930
↓ 1 callersFunctionbilinear_sample
(img, sample_coords, mode="bilinear", padding_mode="zeros", return_mask=False)
examples/community/rerender_a_video.py:59
↓ 1 callersFunctionbits_to_decimal
expects bits from -1 to 1, outputs image tensor from 0 to 1
examples/community/bit_diffusion.py:31
↓ 1 callersMethodblend_h
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
src/diffusers/models/autoencoders/consistency_decoder_vae.py:342
↓ 1 callersMethodblend_v
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
src/diffusers/models/autoencoders/consistency_decoder_vae.py:335
↓ 1 callersFunctionbuffered_writer
(raw_f)
src/diffusers/utils/export_utils.py:25
↓ 1 callersFunctionbuffered_writer
(raw_f)
src/diffusers/utils/testing_utils.py:426
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
examples/community/stable_diffusion_tensorrt_inpaint.py:123
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
examples/community/stable_diffusion_tensorrt_txt2img.py:108
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
examples/community/stable_diffusion_tensorrt_img2img.py:123
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
examples/community/stable_diffusion_tensorrt_inpaint.py:317
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
examples/community/stable_diffusion_tensorrt_txt2img.py:302
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
examples/community/stable_diffusion_tensorrt_img2img.py:317
↓ 1 callersMethodbuild_index
( self, model=None, feature_extractor: CLIPFeatureExtractor = None, torch_dtyp
examples/research_projects/rdm/retriever.py:95
↓ 1 callersFunctionbuild_sub_model_components
( pipeline_components, pipeline_class_name, component_name, original_config, checkpoint,
src/diffusers/loaders/single_file.py:41
↓ 1 callersFunctioncalc_mean_std
(feat: torch.Tensor, eps: float = 1e-5)
examples/community/pipeline_sdxl_style_aligned.py:154
↓ 1 callersMethodcalculate_aesthetic_score
(self,img)
examples/brushnet/evaluate_brushnet.py:67
↓ 1 callersMethodcalculate_clip_similarity
(self, img, txt)
examples/brushnet/evaluate_brushnet.py:75
↓ 1 callersMethodcalculate_hpsv21_score
(self,image,prompt)
examples/brushnet/evaluate_brushnet.py:63
↓ 1 callersMethodcalculate_image_reward
(self,image,prompt)
examples/brushnet/evaluate_brushnet.py:59
↓ 1 callersMethodcalculate_lpips
(self, img_gt, img_pred, mask=None)
examples/brushnet/evaluate_brushnet.py:108
↓ 1 callersMethodcalculate_mse
(self, img_pred, img_gt, mask=None)
examples/brushnet/evaluate_brushnet.py:126
↓ 1 callersMethodcalculate_psnr
(self, img_pred, img_gt, mask=None)
examples/brushnet/evaluate_brushnet.py:85
↓ 1 callersFunctioncamel_case_split
Split a camelcased `identifier` into words.
utils/check_table.py:75
↓ 1 callersFunctioncenter_crop
(image)
examples/kandinsky2_2/text_to_image/train_text_to_image_decoder.py:638
↓ 1 callersFunctioncenter_crop
(image)
examples/kandinsky2_2/text_to_image/train_text_to_image_lora_decoder.py:488
↓ 1 callersFunctioncheck_all_decorator_order
Check that in all test files, the slow decorator is always last.
utils/check_repo.py:509
↓ 1 callersFunctioncheck_all_inits
Check all inits in the transformers repo and raise an error if at least one does not define the same objects in both halves.
utils/check_inits.py:222
↓ 1 callersFunctioncheck_all_models_are_auto_configured
Check all models are each in an auto class.
utils/check_repo.py:456
↓ 1 callersFunctioncheck_all_models_are_tested
Check all models are properly tested.
utils/check_repo.py:397
↓ 1 callersFunctioncheck_all_objects_are_documented
Check all models are properly documented.
utils/check_repo.py:653
↓ 1 callersMethodcheck_conditions
( self, prompt, prompt_embeds, adapter_image, control_image, a
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py:612
↓ 1 callersMethodcheck_conditions
( self, prompt, prompt_embeds, adapter_image, control_image, a
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py:760
↓ 1 callersFunctioncheck_config_docstrings_have_checkpoints
()
utils/check_config_docstrings.py:53
↓ 1 callersFunctioncheck_copies
(overwrite: bool = False)
utils/check_copies.py:198
↓ 1 callersFunctioncheck_decorator_order
Check that in the test file `filename` the slow decorator is always last.
utils/check_repo.py:491
↓ 1 callersFunctioncheck_docstrings_are_in_md
Check all docstrings are in md
utils/check_repo.py:716
↓ 1 callersFunctioncheck_dummies
Check if the dummy files are up to date and maybe `overwrite` with the right content.
utils/check_dummies.py:132
↓ 1 callersMethodcheck_if_lora_correctly_set
Checks if the LoRA layers are correctly set with peft
tests/pipelines/stable_cascade/test_stable_cascade_prior.py:226
↓ 1 callersMethodcheck_if_lora_correctly_set
Checks if the LoRA layers are correctly set with peft
tests/pipelines/wuerstchen/test_wuerstchen_prior.py:249
↓ 1 callersMethodcheck_image
(self, image, mask, prompt, prompt_embeds)
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:733
↓ 1 callersMethodcheck_image
(self, image, mask, prompt, prompt_embeds)
src/diffusers/pipelines/brushnet/pipeline_brushnet.py:674
↓ 1 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
examples/research_projects/controlnetxs/pipeline_controlnet_xs.py:482
↓ 1 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
examples/research_projects/controlnetxs/pipeline_controlnet_xs_sd_xl.py:512
↓ 1 callersFunctioncheck_imports
Check if the current Python environment contains all the libraries that are imported in a file.
src/diffusers/utils/dynamic_modules_utils.py:127
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, height, width, callback_steps,
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:590
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, strength, num_inference_steps, callb
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:534
↓ 1 callersMethodcheck_inputs
( self, prompt, callback_steps, negative_prompt=None, prompt_embeds=No
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py:436
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, image, mask_image, height, w
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:762
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:365
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, image, mask, callback_steps,
src/diffusers/pipelines/brushnet/pipeline_brushnet_sd_xl.py:542
↓ 1 callersMethodcheck_inputs
( self, prompt, image, mask, callback_steps, negative_prompt=N
src/diffusers/pipelines/brushnet/pipeline_brushnet.py:559
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/stable_diffusion_sag/pipeline_stable_diffusion_sag.py:450
↓ 1 callersMethodcheck_inputs
( self, prompt, image, height, width, negative_prompt=None,
src/diffusers/pipelines/i2vgen_xl/pipeline_i2vgen_xl.py:408
↓ 1 callersMethodcheck_inputs
( self, prompt, audio_length_in_s, vocoder_upsample_factor, callback_s
src/diffusers/pipelines/musicldm/pipeline_musicldm.py:303
↓ 1 callersMethodcheck_inputs
( self, prompt, audio_length_in_s, vocoder_upsample_factor, callback_s
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:270
↓ 1 callersMethodcheck_inputs
(self, image, height, width)
src/diffusers/pipelines/stable_video_diffusion/pipeline_stable_video_diffusion.py:267
↓ 1 callersMethodcheck_inputs
( self, mode, prompt, image, height, width, callback_s
src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:966
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:378
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, height, width, callback_steps,
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:498
↓ 1 callersMethodcheck_inputs
( self, prompt, strength, callback_steps, negative_prompt=None,
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:454
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:451
↓ 1 callersMethodcheck_inputs
(self, num_inference_steps, timesteps, latents, batch_size, img_size, callback_steps)
src/diffusers/pipelines/consistency_models/pipeline_consistency_models.py:144
↓ 1 callersMethodcheck_inputs
( self, prompt, callback_steps, negative_prompt=None, prompt_embeds=No
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3.py:256
↓ 1 callersMethodcheck_inputs
( self, prompt, callback_steps, negative_prompt=None, prompt_embeds=No
src/diffusers/pipelines/kandinsky3/pipeline_kandinsky3_img2img.py:328
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_k_diffusion.py:391
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, height, width, negative_prompt=None,
src/diffusers/pipelines/stable_diffusion_k_diffusion/pipeline_stable_diffusion_xl_k_diffusion.py:435
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, height, width, callback_steps,
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_xl_adapter.py:605
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, image,
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:511
↓ 1 callersMethodcheck_inputs
( self, prompt: Union[str, List[str]], strength: float, callback_steps: int,
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py:609
↓ 1 callersMethodcheck_inputs
( self, prompt: Union[str, List[str]], height: int, width: int, callba
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_text2img.py:540
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, image, callback_steps, negative_prom
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:556
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, image, mask_image, strength,
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py:615
↓ 1 callersMethodcheck_inputs
( self, prompt, image, mask_image, height, width, call
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:708
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:571
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, image, strength, num_inference_steps
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py:608
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
src/diffusers/pipelines/controlnet/pipeline_controlnet.py:578
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/stable_diffusion_panorama/pipeline_stable_diffusion_panorama.py:496
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/semantic_stable_diffusion/pipeline_semantic_stable_diffusion.py:140
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, gligen_phrases,
src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen.py:422
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
src/diffusers/pipelines/stable_diffusion_gligen/pipeline_stable_diffusion_gligen_text_image.py:449
← previousnext →1,901–2,000 of 9,976, ranked by callers