MCPcopy Create free account

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

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

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
Functionadd_Poisson_noise
(img)
ldm/modules/image_degradation/bsrgan_light.py:437
Methodadd_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
Functionadd_as_new_layer
(e)
webui/flet/scripts/flet_gallery_window.py:88
Functionadd_blank_layer
()
webui/flet/webui_flet.py:129
Methodadd_canvas_background
(self)
webui/flet/scripts/flet_canvas.py:140
Methodadd_files_to_page
(self, page_key: str, file_ids=None, hashes=None)
scripts/hydrus_api/__init__.py:585
Methodadd_image_as_layer
(self, image)
webui/flet/scripts/flet_asset_manager.py:41
Functionadd_images_as_layers
(images)
webui/flet/webui_flet.py:138
Methodadd_images_as_layers
(self, images)
webui/flet/scripts/flet_asset_manager.py:44
Methodadd_layer_image
(self, image)
webui/flet/scripts/flet_canvas.py:161
Functionadd_resize
(img, sf=4)
ldm/modules/image_degradation/bsrgan_light.py:355
Functionadd_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
Functionadd_speckle_noise
(img, noise_level1=2, noise_level2=25)
ldm/modules/image_degradation/bsrgan_light.py:413
Methodadd_url
( self, url: str, destination_page_key=None, destination_page_name=None,
scripts/hydrus_api/__init__.py:471
Functionalign_canvas
()
webui/flet/webui_flet.py:173
Functionanalytic_kernel
Calculate the X4 kernel from the X2 kernel (for proof see appendix in paper)
ldm/modules/image_degradation/bsrgan_light.py:49
Functionanalytic_kernel
Calculate the X4 kernel from the X2 kernel (for proof see appendix in paper)
ldm/modules/image_degradation/bsrgan.py:49
Functionapply_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
Functionapply_settings
(e)
webui/flet/scripts/flet_settings_window.py:170
Methodarchive_files
(self, hashes=None, file_ids=None)
scripts/hydrus_api/__init__.py:372
Methodassociate_url
( self, hashes=None, file_ids=None, urls_to_add=None, urls_to_delete=N
scripts/hydrus_api/__init__.py:505
Functionaugment_img_np3
(img, mode=0)
ldm/modules/image_degradation/utils_image.py:481
Functionaugment_img_tensor
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:463
Functionaugment_img_tensor4
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:443
Functionaugment_imgs
(img_list, hflip=True, rot=True)
ldm/modules/image_degradation/utils_image.py:509
Methodbackward
(ctx, *output_grads)
ldm/modules/diffusionmodules/util.py:153
Functionbetas_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
Functionblank_layer
(e)
webui/flet/scripts/flet_tool_manager.py:13
Functionblip_feature_extractor
(pretrained="", **kwargs)
ldm/models/blip.py:226
Functionblip_itm
(pretrained="", **kwargs)
ldm/models/blip_itm.py:84
Functionblip_nlvr
(pretrained="", **kwargs)
ldm/models/blip_nlvr.py:79
Functionblip_pretrain
(**kwargs)
ldm/models/blip_pretrain.py:313
Functionblip_retrieval
(pretrained="", **kwargs)
ldm/models/blip_retrieval.py:310
Functionblip_vqa
(pretrained="", **kwargs)
ldm/models/blip_vqa.py:219
Functionblur
x: image, NxcxHxW k: kernel, Nx1xhxw
ldm/modules/image_degradation/bsrgan_light.py:131
Functionblur
x: image, NxcxHxW k: kernel, Nx1xhxw
ldm/modules/image_degradation/bsrgan.py:131
Methodbox_select
(self, e)
webui/flet/scripts/flet_canvas.py:238
Methodbucket_fill
(self, e)
webui/flet/scripts/flet_canvas.py:241
Functioncalculate_psnr
(img1, img2, border=0)
ldm/modules/image_degradation/utils_image.py:679
Functioncalculate_ssim
calculate SSIM the same outputs as MATLAB's img1, img2: [0, 255]
ldm/modules/image_degradation/utils_image.py:700
Methodcall
(self, inputs)
scripts/scn2img.py:104
Functioncenter_canvas
(e)
webui/flet/scripts/flet_canvas.py:385
FunctionchangeImage
()
scripts/imglab.py:120
Functionchange_image_editor_mode
( choice, cropped_image, masked_image, resize_mode, width, height )
frontend/ui_functions.py:24
Functionchange_theme_mode
(e)
webui/flet/webui_flet.py:70
Functionchannel_convert
(in_c, tar_type, img_list)
ldm/modules/image_degradation/utils_image.py:655
Functionchoose_autocast_device
Returns an autocast compatible device from a torch device
ldm/devices/devices.py:15
Functionchoose_torch_device
Convenience routine for guessing which GPU device to run model on
ldm/devices/devices.py:6
Functionchunk
(it, size)
scripts/webui.py:464
Functionclassical_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
Functionclassical_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
Methodclean_tags
(self, tags)
scripts/hydrus_api/__init__.py:396
Methodclear_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
Methodclear_tools
(self)
webui/flet/scripts/flet_canvas.py:262
Methodclear_tools
(self)
webui/flet/scripts/flet_tool_manager.py:129
Functioncli_request_api_key
( name: str, permissions: abc.Iterable[T.Union[int, Permission]], verify: bool = True, exact:
scripts/hydrus_api/utils.py:44
MethodclickFirstVisibleButton
({ rowId })
frontend/js/index.js:147
Functionclose_gallery_window
(e)
webui/flet/webui_flet.py:279
Functionclose_import_window
(e)
webui/flet/webui_flet.py:324
Functionclose_import_window
(e)
webui/flet/scripts/flet_file_manager.py:83
Functionclose_settings_window
(e)
webui/flet/webui_flet.py:258
Functionclose_upload_window
(e)
webui/flet/webui_flet.py:311
Functionclose_upload_window
(e)
webui/flet/scripts/flet_file_manager.py:61
Functioncombine_masks
(old_mask, new_mask, mode)
scripts/scn2img.py:1012
Methodcompute_output_shape
(self, input_shape)
scripts/scn2img.py:78
Methodconfigure_optimizers
(self)
ldm/models/autoencoder.py:248
Methodconfigure_optimizers
(self)
ldm/models/autoencoder.py:489
Methodconfigure_optimizers
(self)
ldm/models/diffusion/classifier.py:258
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:527
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:1802
Methodconstructor
()
frontend/js/index.js:100
Functionconvert_module_to_f16
(x)
ldm/modules/diffusionmodules/openaimodel.py:22
Functionconvert_module_to_f32
(x)
ldm/modules/diffusionmodules/openaimodel.py:26
Functionconvert_pt_to_bin_and_load
(input_file, text_encoder, tokenizer, placeholder_token)
scripts/sd_utils_old.py:3772
← previousnext →1,201–1,300 of 1,943, ranked by callers