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, x, emb)
ldm/modules/diffusionmodules/openaimodel.py:266
Method
_forward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:331
Method
_forward
(self, x, emb)
optimizedSD/openaimodelSplit.py:254
Method
_forward
(self, x)
optimizedSD/openaimodelSplit.py:319
Method
_forward
(self, x, context=None)
optimizedSD/splitAttention.py:246
Method
_init_weights
(self, m)
ldm/models/vit.py:248
Method
_init_weights
Initialize the weights
ldm/models/nlvr_encoder.py:660
Method
_init_weights
Initialize the weights
ldm/models/med.py:615
Function
_make_pretrained_deitb16_384
(pretrained, use_readout="ignore", hooks=None)
ldm/modules/midas/midas/vit.py:319
Function
_make_pretrained_deitb16_distil_384
(pretrained, use_readout="ignore", hooks=None)
ldm/modules/midas/midas/vit.py:328
Method
_post_call_func
Called when a job completes
frontend/job_manager.py:403
Method
_pre_call_func
Called when a job is about to start
frontend/job_manager.py:334
Method
_predict_eps_from_xstart
(self, x_t, t, pred_xstart)
ldm/models/diffusion/ddpm.py:1266
Method
_prepare
(self)
ldm/data/imagenet.py:168
Method
_prepare
(self)
ldm/data/imagenet.py:239
Method
_prior_bpd
Get the prior KL term for the variational lower-bound, measured in bits-per-dim. This term can't be optimized, as it only dep
ldm/models/diffusion/ddpm.py:1272
Method
_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
ldm/models/nlvr_encoder.py:701
Method
_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
ldm/models/med.py:656
Method
_refresh_cur_iter_func
Updates information from the active iteration
frontend/job_manager.py:275
Method
_refresh_func
Updates information from the active job
frontend/job_manager.py:258
Method
_reorder_cache
(self, past, beam_idx)
ldm/models/med.py:1059
Method
_rescale_annotations
(self, bboxes, crop_coordinates)
ldm/models/diffusion/ddpm.py:1113
Function
_resize_pos_embed
(self, posemb, gs_h, gs_w)
ldm/modules/midas/midas/vit.py:100
Method
_stop_cur_iter_func
Marks that the active iteration should be stopped
frontend/job_manager.py:292
Method
_stop_wrapped_func
Marks that the job should be stopped
frontend/job_manager.py:265
Method
_update_gallery_event
Updates the gallery with results from the given job. Frees the images after return if the job is finished. Triggered by changing the u
frontend/job_manager.py:430
Function
add_Poisson_noise
(img)
ldm/modules/image_degradation/bsrgan_light.py:437
Method
add_and_tag_files
Convenience method to add and tag multiple files at the same time. If service_names and service_keys aren't specified, the default service na
scripts/hydrus_api/__init__.py:732
Function
add_as_new_layer
(e)
webui/flet/scripts/flet_gallery_window.py:88
Function
add_blank_layer
()
webui/flet/webui_flet.py:129
Method
add_canvas_background
(self)
webui/flet/scripts/flet_canvas.py:140
Method
add_files_to_page
(self, page_key: str, file_ids=None, hashes=None)
scripts/hydrus_api/__init__.py:585
Method
add_image_as_layer
(self, image)
webui/flet/scripts/flet_asset_manager.py:41
Function
add_images_as_layers
(images)
webui/flet/webui_flet.py:138
Method
add_images_as_layers
(self, images)
webui/flet/scripts/flet_asset_manager.py:44
Method
add_layer_image
(self, image)
webui/flet/scripts/flet_canvas.py:161
Function
add_resize
(img, sf=4)
ldm/modules/image_degradation/bsrgan_light.py:355
Function
add_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_light.py:309
Function
add_speckle_noise
(img, noise_level1=2, noise_level2=25)
ldm/modules/image_degradation/bsrgan_light.py:413
Method
add_url
( self, url: str, destination_page_key=None, destination_page_name=None,
scripts/hydrus_api/__init__.py:471
Function
align_canvas
()
webui/flet/webui_flet.py:173
Function
analytic_kernel
Calculate the X4 kernel from the X2 kernel (for proof see appendix in paper)
ldm/modules/image_degradation/bsrgan_light.py:49
Function
analytic_kernel
Calculate the X4 kernel from the X2 kernel (for proof see appendix in paper)
ldm/modules/image_degradation/bsrgan.py:49
Function
apply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
ldm/modules/midas/midas/transforms.py:6
Function
apply_settings
(e)
webui/flet/scripts/flet_settings_window.py:170
Method
archive_files
(self, hashes=None, file_ids=None)
scripts/hydrus_api/__init__.py:372
Method
associate_url
( self, hashes=None, file_ids=None, urls_to_add=None, urls_to_delete=N
scripts/hydrus_api/__init__.py:505
Function
augment_img_np3
(img, mode=0)
ldm/modules/image_degradation/utils_image.py:481
Function
augment_img_tensor
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:463
Function
augment_img_tensor4
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:443
Function
augment_imgs
(img_list, hflip=True, rot=True)
ldm/modules/image_degradation/utils_image.py:509
Method
backward
(ctx, *output_grads)
ldm/modules/diffusionmodules/util.py:153
Function
betas_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 = [
ldm/modules/diffusionmodules/util.py:99
Function
blank_layer
(e)
webui/flet/scripts/flet_tool_manager.py:13
Function
blip_feature_extractor
(pretrained="", **kwargs)
ldm/models/blip.py:226
Function
blip_itm
(pretrained="", **kwargs)
ldm/models/blip_itm.py:84
Function
blip_nlvr
(pretrained="", **kwargs)
ldm/models/blip_nlvr.py:79
Function
blip_pretrain
(**kwargs)
ldm/models/blip_pretrain.py:313
Function
blip_retrieval
(pretrained="", **kwargs)
ldm/models/blip_retrieval.py:310
Function
blip_vqa
(pretrained="", **kwargs)
ldm/models/blip_vqa.py:219
Function
blur
x: image, NxcxHxW k: kernel, Nx1xhxw
ldm/modules/image_degradation/bsrgan_light.py:131
Function
blur
x: image, NxcxHxW k: kernel, Nx1xhxw
ldm/modules/image_degradation/bsrgan.py:131
Method
box_select
(self, e)
webui/flet/scripts/flet_canvas.py:238
Method
bucket_fill
(self, e)
webui/flet/scripts/flet_canvas.py:241
Function
calculate_psnr
(img1, img2, border=0)
ldm/modules/image_degradation/utils_image.py:679
Function
calculate_ssim
calculate SSIM the same outputs as MATLAB's img1, img2: [0, 255]
ldm/modules/image_degradation/utils_image.py:700
Method
call
(self, inputs)
scripts/scn2img.py:104
Function
center_canvas
(e)
webui/flet/scripts/flet_canvas.py:385
Function
changeImage
()
scripts/imglab.py:120
Function
change_image_editor_mode
( choice, cropped_image, masked_image, resize_mode, width, height )
frontend/ui_functions.py:24
Function
change_theme_mode
(e)
webui/flet/webui_flet.py:70
Function
channel_convert
(in_c, tar_type, img_list)
ldm/modules/image_degradation/utils_image.py:655
Function
choose_autocast_device
Returns an autocast compatible device from a torch device
ldm/devices/devices.py:15
Function
choose_torch_device
Convenience routine for guessing which GPU device to run model on
ldm/devices/devices.py:6
Function
chunk
(it, size)
scripts/webui.py:464
Function
classical_degradation
blur + downsampling Args: x: HxWxC image, [0, 1]/[0, 255] k: hxw, double sf: down-scale factor Return: downsam
ldm/modules/image_degradation/bsrgan_light.py:294
Function
classical_degradation
blur + downsampling Args: x: HxWxC image, [0, 1]/[0, 255] k: hxw, double sf: down-scale factor Return: downsam
ldm/modules/image_degradation/bsrgan.py:294
Method
clean_tags
(self, tags)
scripts/hydrus_api/__init__.py:396
Method
clear_all_finished_jobs
Removes all currently finished jobs, across all sessions. Useful to free memory if a job is started and the browser is closed before i
frontend/job_manager.py:219
Method
clear_tools
(self)
webui/flet/scripts/flet_canvas.py:262
Method
clear_tools
(self)
webui/flet/scripts/flet_tool_manager.py:129
Function
cli_request_api_key
( name: str, permissions: abc.Iterable[T.Union[int, Permission]], verify: bool = True, exact:
scripts/hydrus_api/utils.py:44
Method
clickFirstVisibleButton
({ rowId })
frontend/js/index.js:147
Function
close_gallery_window
(e)
webui/flet/webui_flet.py:279
Function
close_import_window
(e)
webui/flet/webui_flet.py:324
Function
close_import_window
(e)
webui/flet/scripts/flet_file_manager.py:83
Function
close_settings_window
(e)
webui/flet/webui_flet.py:258
Function
close_upload_window
(e)
webui/flet/webui_flet.py:311
Function
close_upload_window
(e)
webui/flet/scripts/flet_file_manager.py:61
Function
combine_masks
(old_mask, new_mask, mode)
scripts/scn2img.py:1012
Method
compute_output_shape
(self, input_shape)
scripts/scn2img.py:78
Method
configure_optimizers
(self)
ldm/models/autoencoder.py:248
Method
configure_optimizers
(self)
ldm/models/autoencoder.py:489
Method
configure_optimizers
(self)
ldm/models/diffusion/classifier.py:258
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm.py:527
Method
configure_optimizers
(self)
ldm/models/diffusion/ddpm.py:1802
Method
constructor
()
frontend/js/index.js:100
Function
convert_module_to_f16
(x)
ldm/modules/diffusionmodules/openaimodel.py:22
Function
convert_module_to_f32
(x)
ldm/modules/diffusionmodules/openaimodel.py:26
Function
convert_pt_to_bin_and_load
(input_file, text_encoder, tokenizer, placeholder_token)
scripts/sd_utils_old.py:3772
← previous
next →
1,201–1,300 of 1,943, ranked by callers