MCPcopy Create free account

hub / github.com/Sygil-Dev/sygil-webui / functions

Functions1,943 in github.com/Sygil-Dev/sygil-webui

↓ 1 callersMethod__len__
(self)
ldm/data/base.py:19
↓ 1 callersFunction_augment
(img)
ldm/modules/image_degradation/utils_image.py:515
↓ 1 callersFunction_copy_attn_layer
(hf_attn_layer, pt_attn_layer)
scripts/convert_original_stable_diffusion_to_diffusers.py:748
↓ 1 callersFunction_copy_layer
(hf_layer, pt_layer)
scripts/convert_original_stable_diffusion_to_diffusers.py:760
↓ 1 callersFunction_copy_layers
(hf_layers, pt_layers)
scripts/convert_original_stable_diffusion_to_diffusers.py:773
↓ 1 callersMethod_dequeue_and_enqueue
(self, image_feat, text_feat, idxs)
ldm/models/blip_retrieval.py:291
↓ 1 callersMethod_dequeue_and_enqueue
(self, image_feat, text_feat)
ldm/models/blip_pretrain.py:295
↓ 1 callersMethod_filter_relpaths
(self, relpaths)
ldm/data/imagenet.py:53
↓ 1 callersFunction_get_gaussian_window
(width, height, std=3.14, mode=0)
scripts/sd_utils_old.py:728
↓ 1 callersFunction_get_gaussian_window
(width, height, std=3.14, mode=0)
scripts/sd_utils/__init__.py:753
↓ 1 callersFunction_get_masked_window_rgb
(np_mask_grey, hardness=1.0)
scripts/sd_utils_old.py:746
↓ 1 callersFunction_get_masked_window_rgb
(np_mask_grey, hardness=1.0)
scripts/sd_utils/__init__.py:771
↓ 1 callersFunction_get_paths_from_images
(path)
ldm/modules/image_degradation/utils_image.py:87
↓ 1 callersMethod_load
(self)
ldm/data/imagenet.py:106
↓ 1 callersMethod_load_video_from_path_decord
( self, video_path, height=None, width=None, start_time=None,
ldm/data/video_dataset.py:84
↓ 1 callersFunction_load_weights
Load weights from .npz checkpoints for official Google Brain Flax implementation
ldm/models/vit.py:285
↓ 1 callersFunction_make_efficientnet_backbone
(effnet)
ldm/modules/midas/midas/blocks.py:128
↓ 1 callersFunction_make_pretrained_efficientnet_lite3
(use_pretrained, exportable=False)
ldm/modules/midas/midas/blocks.py:118
↓ 1 callersFunction_make_pretrained_resnext101_wsl
(use_pretrained)
ldm/modules/midas/midas/blocks.py:154
↓ 1 callersFunction_make_pretrained_vitb16_384
(pretrained, use_readout="ignore", hooks=None)
ldm/modules/midas/midas/vit.py:310
↓ 1 callersFunction_make_pretrained_vitb_rn50_384
( pretrained, use_readout="ignore", hooks=None, use_vit_only=False )
ldm/modules/midas/midas/vit.py:478
↓ 1 callersFunction_make_pretrained_vitl16_384
(pretrained, use_readout="ignore", hooks=None)
ldm/modules/midas/midas/vit.py:297
↓ 1 callersFunction_make_resnet_backbone
(resnet)
ldm/modules/midas/midas/blocks.py:141
↓ 1 callersFunction_make_vit_b_rn50_backbone
( model, features=[256, 512, 768, 768], size=[384, 384], hooks=[0, 1, 8, 11], vit_features
ldm/modules/midas/midas/vit.py:343
↓ 1 callersMethod_momentum_update
(self)
ldm/models/blip_retrieval.py:281
↓ 1 callersMethod_momentum_update
(self)
ldm/models/blip_pretrain.py:285
↓ 1 callersMethod_prepare
(self)
ldm/data/imagenet.py:50
↓ 1 callersMethod_prepare_human_to_integer_label
(self)
ldm/data/imagenet.py:91
↓ 1 callersMethod_prepare_idx_to_synset
(self)
ldm/data/imagenet.py:85
↓ 1 callersMethod_prepare_synset_to_human
(self)
ldm/data/imagenet.py:75
↓ 1 callersMethod_release_job_token
Returns a job token to allow another job to start
frontend/job_manager.py:253
↓ 1 callersMethod_run_queued_jobs
Runs queued jobs for any available slots
frontend/job_manager.py:320
↓ 1 callersMethod_wrap_func
handles JobManageUI's wrap_func
frontend/job_manager.py:442
↓ 1 callersMethodadd_canvas_background
(self)
webui/flet/scripts/flet_canvas.py:47
↓ 1 callersMethodadd_file
(self, path_or_file: T.Union[str, os.PathLike, BinaryFileLike])
scripts/hydrus_api/__init__.py:302
↓ 1 callersMethodadd_layer_slot
(self, image)
webui/flet/scripts/flet_asset_manager.py:107
↓ 1 callersMethodadd_message_to_messages
(self, err, text)
webui/flet/scripts/flet_messages.py:73
↓ 1 callersFunctionadd_sharpening
USM sharpening. borrowed from real-ESRGAN Input image: I; Blurry image: B. 1. K = I + weight * (I - B) 2. Mask = 1 if abs(I - B) > thresho
ldm/modules/image_degradation/bsrgan.py:309
↓ 1 callersMethodadd_tags
( self, hashes=None, file_ids=None, service_names_to_tags=None, servic
scripts/hydrus_api/__init__.py:419
↓ 1 callersFunctionaffine_inv
(mat44)
scripts/scn2img.py:2126
↓ 1 callersMethodalign_layer
(self, layer_image)
webui/flet/scripts/flet_canvas.py:217
↓ 1 callersFunctionall_gather_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
ldm/models/blip_retrieval.py:355
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1 :
ldm/modules/image_degradation/bsrgan_light.py:65
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1 :
ldm/modules/image_degradation/bsrgan.py:65
↓ 1 callersFunctionappend_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
scripts/sd_utils_old.py:673
↓ 1 callersFunctionappend_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
scripts/sd_utils/__init__.py:698
↓ 1 callersFunctionappend_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions. From https://github.com/crowsonkb/k-diffusion/blob/master/k_diffusi
ldm/models/diffusion/sampling_util.py:1
↓ 1 callersMethodas_png_info
(self)
frontend/image_metadata.py:37
↓ 1 callersFunctionaugment_img
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:423
↓ 1 callersFunctionbase64toBlob
(base64Data, contentType)
scripts/custom_components/sygil_suggestions/main.js:673
↓ 1 callersFunctionbase64toBlob
(base64Data, contentType)
webui/streamlit/scripts/custom_components/sygil_suggestions/main.js:673
↓ 1 callersFunctionbgr2ycbcr
bgr version of rgb2ycbcr only_y: only return Y channel Input: uint8, [0, 255] float, [0, 1]
ldm/modules/image_degradation/utils_image.py:625
↓ 1 callersFunctionblend_image_at
(dst, img, pos, rotation, center, blend_mode)
scripts/scn2img.py:880
↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
ldm/modules/losses/vqperceptual.py:100
↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
ldm/modules/losses/contperceptual.py:41
↓ 1 callersMethodcenter_layer
(self, layer_image)
webui/flet/scripts/flet_canvas.py:211
↓ 1 callersFunctioncheck_prompt_length
this function tests if prompt is too long, and if so, adds a message to comments
scripts/sd_utils/__init__.py:2450
↓ 1 callersFunctioncheck_safety
(x_image)
scripts/webui.py:1441
↓ 1 callersFunctionchunk
(it, size)
optimizedSD/optimized_txt2img.py:22
↓ 1 callersFunctionchunk
(it, size)
optimizedSD/optimized_img2img.py:22
↓ 1 callersFunctionclassToArrays
(items, seed, n_iter)
scripts/sd_utils_old.py:2760
↓ 1 callersFunctionclassToArrays
(items, seed, n_iter)
scripts/webui.py:1285
↓ 1 callersFunctionclassToArrays
(items, seed, n_iter)
scripts/sd_utils/__init__.py:2798
↓ 1 callersFunctionclean
(txt)
scripts/sd_utils_old.py:2723
↓ 1 callersFunctionclean
(txt)
scripts/webui.py:1248
↓ 1 callersFunctionclean
(txt)
scripts/sd_utils/__init__.py:2761
↓ 1 callersMethodclear_tools
(self)
webui/flet/scripts/flet_tool_manager.py:164
↓ 1 callersFunctioncombine_grid
(grid)
scripts/webui.py:3111
↓ 1 callersFunctioncond_grad_fn
Compute the gradient of the classifier, i.e. nabla_{x} log p_t(cond | x_t).
ldm/models/diffusion/dpm_solver/dpm_solver.py:328
↓ 1 callersFunctionconstrain_image
(img, max_width, max_height)
scripts/sd_utils_old.py:3759
↓ 1 callersFunctionconstrain_image
(img, max_width, max_height)
scripts/sd_utils/__init__.py:3797
↓ 1 callersFunctionconvert_image_to_base64
(image)
webui/flet/scripts/flet_utils.py:141
↓ 1 callersFunctionconvert_ldm_bert_checkpoint
(checkpoint, config)
scripts/convert_original_stable_diffusion_to_diffusers.py:747
↓ 1 callersFunctionconvert_ldm_clip_checkpoint
(checkpoint)
scripts/convert_original_stable_diffusion_to_diffusers.py:799
↓ 1 callersFunctionconvert_ldm_unet_checkpoint
Takes a state dict and a config, and returns a converted checkpoint.
scripts/convert_original_stable_diffusion_to_diffusers.py:327
↓ 1 callersFunctionconvert_ldm_vae_checkpoint
(checkpoint, config)
scripts/convert_original_stable_diffusion_to_diffusers.py:572
↓ 1 callersMethodcopy_params
(self)
ldm/models/blip_retrieval.py:272
↓ 1 callersMethodcopy_params
(self)
ldm/models/blip_pretrain.py:276
↓ 1 callersFunctioncreate_ldm_bert_config
(original_config)
scripts/convert_original_stable_diffusion_to_diffusers.py:317
↓ 1 callersFunctioncreate_unet_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
scripts/convert_original_stable_diffusion_to_diffusers.py:236
↓ 1 callersFunctioncreate_vae_diffusers_config
Creates a config for the diffusers based on the config of the LDM model.
scripts/convert_original_stable_diffusion_to_diffusers.py:283
↓ 1 callersFunctioncss
(opt)
frontend/css_and_js.py:28
↓ 1 callersFunctioncurrentFrameAbsolutePosition
()
scripts/custom_components/sygil_suggestions/main.js:60
↓ 1 callersFunctioncurrentFrameAbsolutePosition
()
webui/streamlit/scripts/custom_components/sygil_suggestions/main.js:60
↓ 1 callersMethodddim_sampling
( self, cond, shape, x_T=None, ddim_use_original_steps=False,
ldm/models/diffusion/ddim.py:156
↓ 1 callersMethodddim_sampling
( self, x_latent, cond, t_start, unconditional_guidance_scale=1.0,
optimizedSD/ddpm.py:901
↓ 1 callersMethoddelete_layer
(self, layer)
webui/flet/scripts/flet_asset_manager.py:169
↓ 1 callersMethoddenoise_to_zero_fn
Denoise at the final step, which is equivalent to solve the ODE from lambda_s to infty by first-order discretization.
ldm/models/diffusion/dpm_solver/dpm_solver.py:566
↓ 1 callersFunctiondepth_norm
(x, maxDepth)
scripts/scn2img.py:1668
↓ 1 callersFunctiondepth_reprojection
( xyz: np.ndarray, depth: np.ndarray, depth_scale: float, fx: float, fy: float, cx: fl
scripts/scn2img.py:1835
↓ 1 callersFunctiondiffuse
( pipe, cond_embeddings, # text conditioning, should be (1, 77, 768) cond_latents, # image condi
scripts/txt2vid.py:1052
↓ 1 callersFunctiondiffuse
( pipe, cond_embeddings, # text conditioning, should be (1, 77, 768) cond_latents, # image condi
webui/streamlit/scripts/txt2vid.py:1047
↓ 1 callersMethoddpm_2_ancestral_sampling
Ancestral sampling with DPM-Solver inspired second-order steps.
optimizedSD/ddpm.py:1271
↓ 1 callersMethoddpm_2_sampling
A sampler inspired by DPM-Solver-2 and Algorithm 2 from Karras et al. (2022).
optimizedSD/ddpm.py:1202
↓ 1 callersMethoddpm_solver_adaptive
The adaptive step size solver based on singlestep DPM-Solver. Args: x: A pytorch tensor. The initial value at time `t_T`.
ldm/models/diffusion/dpm_solver/dpm_solver.py:1096
↓ 1 callersFunctiondraw_gradio_ui
( opt, img2img=lambda x: x, txt2img=lambda x: x, imgproc=lambda x: x, scn2img=lambda x: x,
frontend/frontend.py:24
↓ 1 callersFunctiondraw_prompt_matrix
(im, width, height, all_prompts)
scripts/sd_utils_old.py:2324
↓ 1 callersFunctiondraw_prompt_matrix
(im, width, height, all_prompts)
scripts/webui.py:987
↓ 1 callersFunctiondraw_prompt_matrix
(im, width, height, all_prompts)
scripts/sd_utils/__init__.py:2362
↓ 1 callersMethodenable_attention_slicing
r""" Enable sliced attention computation. When this option is enabled, the attention module will split the input tensor in slices, to
scripts/stable_diffusion_pipeline.py:227
← previousnext →501–600 of 1,943, ranked by callers