MCPcopy Create free account

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

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

↓ 7 callersMethodon_page_change
(self)
webui/flet/scripts/flet_canvas.py:26
↓ 7 callersFunctionprocess_images
this is the main loop that both txt2img and img2img use; it calls func_init once inside all the scopes and func_sample once per batch
scripts/webui.py:1372
↓ 7 callersMethodquantize
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:544
↓ 7 callersFunctionresize_image
(resize_mode, im, width, height)
frontend/ui_functions.py:199
↓ 7 callersMethodrun
( self, model, selected_path, task, custom_steps, eta,
scripts/sd_utils_old.py:1172
↓ 7 callersMethodsample
(self)
ldm/modules/distributions/distributions.py:17
↓ 7 callersMethodsample
(self, batch_size=16, return_intermediates=False)
ldm/models/diffusion/ddpm.py:356
↓ 7 callersFunctionsave_sample
( image, sample_path_i, filename, jpg_sample, prompts, seeds, width, height,
scripts/sd_utils_old.py:2568
↓ 7 callersMethodsuccess
(result)
frontend/js/index.js:56
↓ 7 callersMethodsuperResolution
#Run settings diffusion_steps = int(ddimSteps) #@param [25, 50, 100, 250, 500, 1000] eta = 1.0 #@param {type: 'raw'}
scripts/sd_utils_old.py:1427
↓ 7 callersMethodto_rgb
(self, x)
ldm/models/autoencoder.py:311
↓ 7 callersMethodtranspose_for_scores
(self, x)
ldm/models/nlvr_encoder.py:136
↓ 7 callersMethodtranspose_for_scores
(self, x)
ldm/models/med.py:148
↓ 7 callersMethodwalk
Generate a video from a sequence of prompts and seeds. Optionally, add audio to the video to interpolate to the intensity of the audio.
scripts/txt2vid.py:739
↓ 7 callersFunctionzero_module
Zero out the parameters of a module and return it.
ldm/modules/diffusionmodules/util.py:200
↓ 6 callersFunctionReplaceAll
(str, toReplace, seperator, symbol)
scripts/custom_components/sygil_suggestions/main.js:734
↓ 6 callersFunctionReplaceAll
(str, toReplace, seperator, symbol)
webui/streamlit/scripts/custom_components/sygil_suggestions/main.js:734
↓ 6 callersFunctionShowMenu
()
scripts/custom_components/sygil_suggestions/main.js:860
↓ 6 callersFunctionShowMenu
()
webui/streamlit/scripts/custom_components/sygil_suggestions/main.js:860
↓ 6 callersMethod__init__
(self, dim_in, dim_out)
ldm/modules/attention.py:40
↓ 6 callersMethod__init__
( self, txt_file, data_root, size=None, interpolation="bicubic", flip_p=0.5 )
ldm/data/lsun.py:10
↓ 6 callersMethod__init__
(self, dim_in, dim_out)
optimizedSD/splitAttention.py:38
↓ 6 callersFunction_copy_linear
(hf_linear, pt_linear)
scripts/convert_original_stable_diffusion_to_diffusers.py:756
↓ 6 callersFunctionadd_JPEG_noise
(img)
ldm/modules/image_degradation/bsrgan.py:452
↓ 6 callersFunctionadd_blur
(img, sf=4)
ldm/modules/image_degradation/bsrgan.py:335
↓ 6 callersFunctioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward pas
ldm/modules/diffusionmodules/util.py:124
↓ 6 callersMethodconstrain_to_multiple_of
(self, x, min_val=0, max_val=None)
ldm/modules/midas/midas/transforms.py:93
↓ 6 callersFunctiondefault
(val, d)
ldm/modules/x_transformer.py:56
↓ 6 callersMethodget_input
(self, batch, k)
ldm/models/autoencoder.py:133
↓ 6 callersFunctionnoise_like
(shape, device, repeat=False)
ldm/modules/diffusionmodules/util.py:290
↓ 6 callersMethodregister_buffer1
(self, name, attr)
optimizedSD/ddpm.py:522
↓ 6 callersFunctionrenew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
scripts/convert_original_stable_diffusion_to_diffusers.py:65
↓ 6 callersFunctionsave_sample
( image, sample_path_i, filename, jpg_sample, prompts, seeds, width, height,
scripts/sd_utils/__init__.py:2606
↓ 5 callersMethod__init__
( self, timesteps=1000, beta_schedule="linear", ckpt_path=None, ignore
optimizedSD/ddpm.py:48
↓ 5 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
ldm/modules/midas/midas/blocks.py:65
↓ 5 callersMethodcheckpoint
(self, step, text_encoder, save_samples=True, path=None)
webui/streamlit/scripts/textual_inversion.py:282
↓ 5 callersFunctionclose_menu
(e)
webui/flet/scripts/flet_asset_manager.py:189
↓ 5 callersMethodget_fold_unfold
:param x: img of size (bs, c, h, w) :return: n img crops of size (n, bs, c, kernel_size[0], kernel_size[1])
ldm/models/diffusion/ddpm.py:757
↓ 5 callersMethodget_input
(self, batch, k)
ldm/models/diffusion/ddpm.py:426
↓ 5 callersFunctionget_next_sequence_number
Determines and returns the next sequence number to use when saving an image in the specified directory. If a prefix is given, only consi
scripts/sd_utils_old.py:2691
↓ 5 callersMethodget_time_steps
Compute the intermediate time steps for sampling. Args: skip_type: A `str`. The type for the spacing of the time steps. We support
ldm/models/diffusion/dpm_solver/dpm_solver.py:440
↓ 5 callersFunctionimage_grid
(imgs, batch_size, force_n_rows=None, captions=None)
scripts/sd_utils_old.py:2253
↓ 5 callersFunctionimage_grid
(imgs, batch_size, force_n_rows=None, captions=None)
scripts/sd_utils/__init__.py:2291
↓ 5 callersMethodinverse_lambda
Compute the continuous-time label t in [0, T] of a given half-logSNR lambda_t.
ldm/models/diffusion/dpm_solver/dpm_solver.py:165
↓ 5 callersFunctionload_checkpoint
(model, url_or_filename)
ldm/models/blip.py:278
↓ 5 callersFunctionrank
(model, image_features, text_array, top_count=1)
scripts/clip_interrogator.py:72
↓ 5 callersFunctionresize_image
(img, size, crop=None)
scripts/scn2img.py:871
↓ 5 callersMethodsample
( self, S, conditioning, x0=None, shape=None, seed=1234,
optimizedSD/ddpm.py:560
↓ 5 callersFunctionshave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
scripts/convert_original_stable_diffusion_to_diffusers.py:55
↓ 5 callersMethodstochastic_encode
( self, x0, t, seed, ddim_eta, ddim_steps, use_original_steps=False, noise=None )
optimizedSD/ddpm.py:864
↓ 5 callersFunctiontriggerChangeEvent
()
frontend/job_manager.py:78
↓ 4 callersFunctionButtonUpdateContext
(changeCategory)
scripts/custom_components/sygil_suggestions/main.js:234
↓ 4 callersFunctionButtonUpdateContext
(changeCategory)
webui/streamlit/scripts/custom_components/sygil_suggestions/main.js:234
↓ 4 callersFunctionGFPGAN_available
()
scripts/sd_utils_old.py:2474
↓ 4 callersFunctionGFPGAN_available
()
webui/streamlit/scripts/sd_utils/__init__.py:331
↓ 4 callersFunctionLDSR_available
()
scripts/sd_utils_old.py:2543
↓ 4 callersFunctionLDSR_available
()
webui/streamlit/scripts/sd_utils/__init__.py:398
↓ 4 callersFunctionRealESRGAN_available
()
scripts/sd_utils_old.py:2520
↓ 4 callersFunctionRealESRGAN_available
()
webui/streamlit/scripts/sd_utils/__init__.py:377
↓ 4 callersMethod__init__
(self, modelPath, yamlPath)
scripts/sd_utils_old.py:1063
↓ 4 callersMethod__init__
(self)
scripts/webui.py:4027
↓ 4 callersMethod__init__
(self, modelPath, yamlPath)
scripts/sd_utils/__init__.py:1088
↓ 4 callersMethod__init__
Init. Args: scale_factor (float): scaling mode (str): interpolation mode
ldm/modules/midas/midas/blocks.py:162
↓ 4 callersMethod__init__
Imagenet Superresolution Dataloader Performs following ops in order: 1. crops a crop of size s from image either as random o
ldm/data/imagenet.py:303
↓ 4 callersFunction_make_fusion_block
(features, use_bn)
ldm/modules/midas/midas/dpt_depth.py:13
↓ 4 callersFunction_make_vit_b16_backbone
( model, features=[96, 192, 384, 768], size=[384, 384], hooks=[2, 5, 8, 11], vit_features=
ldm/modules/midas/midas/vit.py:183
↓ 4 callersFunctionadd_Gaussian_noise
(img, noise_level1=2, noise_level2=25)
ldm/modules/image_degradation/bsrgan.py:389
↓ 4 callersFunctionadd_JPEG_noise
(img)
ldm/modules/image_degradation/bsrgan_light.py:453
↓ 4 callersMethodadd_images_as_layers
(self, images)
webui/flet/scripts/flet_asset_manager.py:149
↓ 4 callersFunctionadopt_weight
(weight, global_step, threshold=0, value=0.0)
ldm/modules/losses/vqperceptual.py:20
↓ 4 callersFunctioncalculate_weights_indices
( in_length, out_length, scale, kernel, kernel_width, antialiasing )
ldm/modules/image_degradation/utils_image.py:768
↓ 4 callersMethodcompute_top_k
(self, logits, labels, k, reduction="mean")
ldm/models/diffusion/classifier.py:172
↓ 4 callersFunctioncreate_random_tensors
(shape, seeds)
scripts/webui.py:655
↓ 4 callersFunctioncustom_models_available
()
scripts/sd_utils_old.py:2453
↓ 4 callersFunctioncustom_models_available
()
webui/streamlit/scripts/sd_utils/__init__.py:310
↓ 4 callersMethoddecode
(self, text)
ldm/modules/encoders/modules.py:91
↓ 4 callersMethodencode
(self, text)
ldm/modules/encoders/modules.py:128
↓ 4 callersMethodforward
(self, x)
ldm/modules/midas/midas/vit.py:14
↓ 4 callersMethodgenerate
( self, image, sample=False, num_beams=3, max_length=30, min_l
ldm/models/blip.py:154
↓ 4 callersFunctiongetConceptsFromPath
(page, conceptPerPage, searchText="")
scripts/sd_concept_library.py:46
↓ 4 callersFunctiongetConceptsFromPath
(page, conceptPerPage, searchText="")
webui/streamlit/scripts/sd_concept_library.py:46
↓ 4 callersFunctionget_ancestral_step
Calculates the noise level (sigma_down) to step down to and the amount of noise to add (sigma_up) when doing an ancestral sampling step.
optimizedSD/samplers.py:21
↓ 4 callersMethodget_last_layer
(self)
ldm/models/autoencoder.py:285
↓ 4 callersMethodget_last_layer
(self)
ldm/models/autoencoder.py:504
↓ 4 callersMethodget_layer_index_from_position
(self, pos)
webui/flet/scripts/flet_asset_manager.py:155
↓ 4 callersMethodget_learned_conditioning
(self, c)
ldm/models/diffusion/ddpm.py:698
↓ 4 callersMethodget_sampler_name
(self)
scripts/webui.py:612
↓ 4 callersFunctiongradient
grad converts h to the right gradient vector and return the dot product with (x,y)
scripts/perlin.py:37
↓ 4 callersMethodinit_from_ckpt
(self, path, ignore_keys=list())
ldm/models/autoencoder.py:85
↓ 4 callersFunctionis_seed_valid
(s)
scripts/scn2img.py:449
↓ 4 callersFunctionismap
(x)
ldm/util.py:41
↓ 4 callersFunctionload_GFPGAN
(model_name="GFPGANv1.4")
scripts/sd_utils_old.py:1586
↓ 4 callersFunctionload_GFPGAN
(checking=False)
scripts/webui.py:693
↓ 4 callersFunctionload_RealESRGAN
(model_name: str, checking=False)
scripts/webui.py:733
↓ 4 callersFunctionload_list
(filename)
scripts/clip_interrogator.py:66
↓ 4 callersFunctionmake_grid
(n_items=5, n_cols=5)
scripts/sd_utils_old.py:286
↓ 4 callersMethodmake_layer_active
(self, index)
webui/flet/scripts/flet_asset_manager.py:98
↓ 4 callersMethodmode
(self)
ldm/modules/distributions/distributions.py:20
↓ 4 callersMethodmove_layer
(self, layer, index)
webui/flet/scripts/flet_asset_manager.py:159
↓ 4 callersFunctionnoise_pred_fn
(x, t_continuous, cond=None)
ldm/models/diffusion/dpm_solver/dpm_solver.py:299
← previousnext →101–200 of 1,943, ranked by callers