Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sygil-Dev/sygil-webui
/ functions
Functions
1,943 in github.com/Sygil-Dev/sygil-webui
⨍
Functions
1,943
◇
Types & classes
313
↳
Endpoints
2
Method
forward
(self, image, caption, alpha)
ldm/models/blip_pretrain.py:112
Method
forward
(self, image, caption, mode)
ldm/models/blip.py:51
Method
forward
(self, image, caption)
ldm/models/blip.py:121
Method
forward
( self, input_ids=None, position_ids=None, inputs_embeds=None, past_ke
ldm/models/med.py:66
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
ldm/models/med.py:156
Method
forward
(self, hidden_states, input_tensor)
ldm/models/med.py:271
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
ldm/models/med.py:308
Method
forward
(self, hidden_states)
ldm/models/med.py:343
Method
forward
(self, hidden_states, input_tensor)
ldm/models/med.py:356
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
ldm/models/med.py:378
Method
forward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
ldm/models/med.py:449
Method
forward
(self, hidden_states)
ldm/models/med.py:549
Method
forward
(self, hidden_states)
ldm/models/med.py:568
Method
forward
(self, hidden_states)
ldm/models/med.py:589
Method
forward
(self, sequence_output)
ldm/models/med.py:600
Method
forward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
ldm/models/med.py:742
Method
forward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
ldm/models/med.py:931
Method
forward
(self, x_noisy, t, *args, **kwargs)
ldm/models/diffusion/classifier.py:142
Method
forward
(self, x, sigma, uncond, cond, cond_scale, mask, x0, xi)
ldm/models/diffusion/kdiffusion.py:49
Method
forward
(self, x, sigma, uncond, cond, cond_scale)
ldm/models/diffusion/kdiffusion.py:71
Method
forward
(self, x, *args, **kwargs)
ldm/models/diffusion/ddpm.py:418
Method
forward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm.py:1100
Method
forward
(self, x, t, c_concat: list = None, c_crossattn: list = None)
ldm/models/diffusion/ddpm.py:1844
Method
forward
(self, input, sigma, **kwargs)
optimizedSD/samplers.py:84
Method
forward
(self, x, t, cc)
optimizedSD/ddpm.py:371
Method
forward
(self, h, emb, tp, hs, cc)
optimizedSD/ddpm.py:381
Method
forward
(self, x)
optimizedSD/openaimodelSplit.py:40
Method
forward
Apply the module to `x` given `emb` timestep embeddings.
optimizedSD/openaimodelSplit.py:57
Method
forward
(self, x, emb, context=None)
optimizedSD/openaimodelSplit.py:69
Method
forward
(self, x)
optimizedSD/openaimodelSplit.py:100
Method
forward
(self, x)
optimizedSD/openaimodelSplit.py:125
Method
forward
(self, x)
optimizedSD/openaimodelSplit.py:158
Method
forward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
optimizedSD/openaimodelSplit.py:243
Method
forward
(self, x)
optimizedSD/openaimodelSplit.py:313
Method
forward
Apply QKV attention. :param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
optimizedSD/openaimodelSplit.py:357
Method
forward
Apply QKV attention. :param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
optimizedSD/openaimodelSplit.py:389
Method
forward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
optimizedSD/openaimodelSplit.py:623
Method
forward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
optimizedSD/openaimodelSplit.py:847
Method
forward
(self, x)
optimizedSD/splitAttention.py:42
Method
forward
(self, x)
optimizedSD/splitAttention.py:62
Method
forward
(self, x)
optimizedSD/splitAttention.py:89
Method
forward
(self, x)
optimizedSD/splitAttention.py:123
Method
forward
(self, x, context=None, mask=None)
optimizedSD/splitAttention.py:169
Method
forward
(self, x, context=None)
optimizedSD/splitAttention.py:241
Method
forward
(self, x, context=None)
optimizedSD/splitAttention.py:287
Function
forward_flex
(self, x)
ldm/modules/midas/midas/vit.py:117
Method
freeze
(self)
ldm/modules/encoders/modules.py:241
Method
from_pretrained
Initialize a pretrained Real-ESRGAN upsampler. Args: model_name_or_path (str, optional): The Hugging Face repo ID or path to local
scripts/sd_utils/__init__.py:1804
Function
fuse_model
(m)
ldm/modules/midas/midas/midas_net_custom.py:153
Function
gen_kernel
" # modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the g
ldm/modules/image_degradation/bsrgan_light.py:148
Function
gen_kernel
" # modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the g
ldm/modules/image_degradation/bsrgan.py:148
Function
getImagesFromLexica
()
scripts/imglab.py:76
Function
getLatestGeneratedImagesFromPath
()
scripts/imglab.py:49
Method
get_api_version
(self)
scripts/hydrus_api/__init__.py:275
Method
get_attention_map
(self)
ldm/models/vit.py:81
Method
get_attention_map
(self)
ldm/models/nlvr_encoder.py:133
Method
get_attention_map
(self)
ldm/models/med.py:145
Method
get_attn_gradients
(self)
ldm/models/vit.py:75
Method
get_attn_gradients
(self)
ldm/models/nlvr_encoder.py:127
Method
get_attn_gradients
(self)
ldm/models/med.py:139
Method
get_base
(self)
ldm/data/imagenet.py:441
Function
get_bert_token_for_string
(tokenizer, string)
ldm/modules/embedding_manager.py:31
Function
get_box_select
(e)
webui/flet/scripts/flet_canvas.py:338
Function
get_canvas_background
(path)
webui/flet/scripts/flet_utils.py:101
Function
get_canvas_frame
(canvas_size)
webui/flet/scripts/flet_utils.py:108
Method
get_cond
(mode, selected_path)
scripts/sd_utils_old.py:1333
Method
get_cond
(mode, selected_path)
scripts/sd_utils/__init__.py:1358
Method
get_cond_options
(self, mode)
scripts/sd_utils_old.py:1144
Method
get_cond_options
(self, mode)
scripts/sd_utils/__init__.py:1169
Method
get_config
(self)
scripts/scn2img.py:133
Method
get_cookies
(self, domain: str)
scripts/hydrus_api/__init__.py:559
Function
get_embedding_for_clip_token
(embedder, token)
ldm/modules/embedding_manager.py:40
Method
get_embedding_norms_squared
(self)
ldm/modules/embedding_manager.py:221
Method
get_eps
(self, *args, **kwargs)
optimizedSD/samplers.py:96
Method
get_file
(self, hash_=None, file_id=None)
scripts/hydrus_api/__init__.py:691
Method
get_file_metadata
( self, hashes=None, file_ids=None, create_new_file_ids=None, only_ret
scripts/hydrus_api/__init__.py:643
Function
get_gallery_images
(gallery_name)
webui/flet/scripts/flet_utils.py:154
Function
get_image_from_uploads
(name)
webui/flet/scripts/flet_utils.py:88
Function
get_images_from_lexica
()
scripts/home.py:71
Method
get_input_embeddings
(self)
ldm/models/nlvr_encoder.py:695
Method
get_last_layer
(self)
ldm/modules/diffusionmodules/model.py:427
Function
get_matched_noise
Explanation: Getting good results in/out-painting with stable diffusion can be challenging. Although there are simpler effective solution
scripts/sd_utils/__init__.py:782
Method
get_model_output
(x, t)
ldm/models/diffusion/plms.py:281
Method
get_model_output
(x, t)
optimizedSD/ddpm.py:794
Method
get_mr_bones
(self)
scripts/hydrus_api/__init__.py:729
Method
get_output_embeddings
(self)
ldm/models/med.py:925
Method
get_page_info
(self, page_key: str, simple=None)
scripts/hydrus_api/__init__.py:577
Method
get_page_list
Convenience method that returns a flattened version of the page tree from `Client.get_pages()`. Returns: list[dict[str, T.Any]]:
scripts/hydrus_api/__init__.py:771
Function
get_png_nfo
(image: Image)
frontend/ui_functions.py:257
Function
get_preview_from_stack
(size, stack)
webui/flet/scripts/flet_utils.py:123
Method
get_sampler_name
(self)
scripts/sd_utils_old.py:1022
Method
get_sampler_name
(self)
scripts/sd_utils/__init__.py:1047
Method
get_sampler_name
(self)
ldm/models/diffusion/kdiffusion.py:13
Method
get_services
(self)
scripts/hydrus_api/__init__.py:298
Method
get_session_key
(self)
scripts/hydrus_api/__init__.py:290
Function
get_sigmas_exponential
Constructs an exponential noise schedule.
scripts/sd_utils_old.py:981
Function
get_sigmas_exponential
Constructs an exponential noise schedule.
scripts/sd_utils/__init__.py:1006
Function
get_sigmas_karras
Constructs the noise schedule of Karras et al. (2022).
scripts/sd_utils_old.py:683
Function
get_sigmas_karras
Constructs the noise schedule of Karras et al. (2022).
scripts/sd_utils/__init__.py:708
Function
get_sigmas_vp
Constructs a continuous VP noise schedule.
scripts/sd_utils_old.py:989
← previous
next →
1,501–1,600 of 1,943, ranked by callers