MCPcopy Create free account

hub / github.com/lllyasviel/Fooocus / functions

Functions2,411 in github.com/lllyasviel/Fooocus

↓ 1 callersMethodcalculate_mask
(self, x_size)
ldm_patched/pfn/architecture/HAT.py:1191
↓ 1 callersMethodcalculate_rpi_oca
(self)
ldm_patched/pfn/architecture/HAT.py:1160
↓ 1 callersMethodcalculate_rpi_sa
(self)
ldm_patched/pfn/architecture/HAT.py:1142
↓ 1 callersFunctioncalculate_sha256
(filename)
modules/util.py:205
↓ 1 callersFunctioncanBeTranslated
(node, text)
javascript/localization.js:16
↓ 1 callersMethodcan_concat
(self, other)
ldm_patched/modules/conds.py:17
↓ 1 callersFunctioncan_concat_cond
(c1, c2)
ldm_patched/modules/samplers.py:89
↓ 1 callersFunctioncanny
r"""Find edges of the input image and filters them using the Canny algorithm. .. image:: _static/img/canny.png Args: input: input imag
ldm_patched/contrib/external_canny.py:155
↓ 1 callersMethodcat_batch
(batch1, batch2)
ldm_patched/contrib/external_rebatch.py:52
↓ 1 callersFunctioncentered_canny
(x: np.ndarray, canny_low_threshold, canny_high_threshold)
extras/preprocessors.py:5
↓ 1 callersFunctioncentered_canny_color
(x: np.ndarray, canny_low_threshold, canny_high_threshold)
extras/preprocessors.py:14
↓ 1 callersFunctionchangeZoomLevel
(operation, e)
javascript/zoom.js:261
↓ 1 callersMethodcheck_image_size
(self, x)
ldm_patched/pfn/architecture/SCUNet.py:424
↓ 1 callersMethodcheck_image_size
(self, x)
ldm_patched/pfn/architecture/SwinIR.py:1140
↓ 1 callersMethodcheck_image_size
(self, x)
ldm_patched/pfn/architecture/Swin2SR.py:1246
↓ 1 callersMethodcheck_image_size
(self, x)
ldm_patched/pfn/architecture/HAT.py:1230
↓ 1 callersMethodcheck_image_size
(self, x)
ldm_patched/pfn/architecture/OmniSR/OmniSR.py:122
↓ 1 callersFunctionchunk_scanner
(chunk_idx: int, mask)
ldm_patched/ldm/modules/sub_quadratic_attention.py:107
↓ 1 callersMethodclean_all
(self)
extras/facexlib/utils/face_restoration_helper.py:367
↓ 1 callersFunctioncleanup_prompt
(prompt)
modules/util.py:456
↓ 1 callersFunctionclear_all_caches
()
modules/default_pipeline.py:217
↓ 1 callersFunctionclip_encode_single
(clip, text, verbose=False)
modules/default_pipeline.py:147
↓ 1 callersFunctionclip_preprocess
(image, size=224)
ldm_patched/modules/clip_vision.py:18
↓ 1 callersFunctionclip_preprocess
(image)
extras/ip_adapter.py:153
↓ 1 callersMethodclip_target
(self)
ldm_patched/modules/supported_models.py:51
↓ 1 callersMethodclone
(self)
ldm_patched/modules/model_patcher.py:35
↓ 1 callersFunctioncloseModal
()
javascript/imageviewer.js:3
↓ 1 callersMethodcolor_correction
(self, img)
modules/inpaint_worker.py:247
↓ 1 callersFunctioncompute_cfg
(uncond, cond, cfg_scale, t)
modules/patch.py:212
↓ 1 callersFunctioncompute_initial_abcd
(x)
modules/inpaint_worker.py:85
↓ 1 callersFunctioncompute_vars
(input, image_width, image_height)
ldm_patched/utils/path_utils.py:235
↓ 1 callersMethodconcat
(self, others)
ldm_patched/modules/conds.py:22
↓ 1 callersFunctioncond_cat
(c_list)
ldm_patched/modules/samplers.py:109
↓ 1 callersFunctioncond_equal_size
(c1, c2)
ldm_patched/modules/samplers.py:79
↓ 1 callersFunctioncond_grad_fn
Compute the gradient of the classifier, i.e. nabla_{x} log p_t(cond | x_t).
ldm_patched/unipc/uni_pc.py:313
↓ 1 callersFunctioncontextMenuInit
()
javascript/contextMenus.js:3
↓ 1 callersFunctionconv1x1
(in_planes, out_planes, stride=1)
ldm_patched/pfn/architecture/block.py:477
↓ 1 callersFunctionconv_block_2c2
( in_nc, out_nc, act_type="relu", )
ldm_patched/pfn/architecture/block.py:145
↓ 1 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
ldm_patched/t2ia/adapter.py:7
↓ 1 callersFunctionconvert_config
(unet_config)
ldm_patched/modules/model_detection.py:170
↓ 1 callersFunctionconvert_to_transformers
(sd, prefix)
ldm_patched/modules/clip_vision.py:61
↓ 1 callersMethodcopy_params
(self)
extras/BLIP/models/blip_retrieval.py:229
↓ 1 callersMethodcopy_params
(self)
extras/BLIP/models/blip_pretrain.py:217
↓ 1 callersMethodcopy_to
(self, model)
ldm_patched/ldm/modules/ema.py:50
↓ 1 callersFunctioncpu_mode
()
ldm_patched/modules/model_management.py:684
↓ 1 callersFunctioncreateHotkeyConfig
(defaultHotkeysConfig)
javascript/zoom.js:24
↓ 1 callersFunctioncreateTooltip
()
javascript/zoom.js:75
↓ 1 callersFunctioncreate_blur_map
(x0, attn, sigma=3.0, threshold=1.0)
ldm_patched/contrib/external_sag.py:56
↓ 1 callersFunctioncss_html
()
modules/ui_gradio_extensions.py:50
↓ 1 callersFunctioncvt_tform_mat_for_cv2
Function: ---------- Convert Transform Matrix 'trans' into 'cv2_trans' which could be directly used by cv2.warpAffine():
extras/facexlib/detection/matlab_cp2tform.py:170
↓ 1 callersFunctiondecode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
extras/facexlib/detection/retinaface_utils.py:254
↓ 1 callersMethoddecode
(self, quant, hs)
ldm_patched/pfn/architecture/face/restoreformer_arch.py:766
↓ 1 callersMethoddecode
(self, z: torch.Tensor, **kwargs)
ldm_patched/ldm/models/autoencoder.py:138
↓ 1 callersFunctiondecode_landm
Decode landm from predictions using priors to undo the encoding we did for offset regression at train time. Args: pre (tensor): landm
extras/facexlib/detection/retinaface_utils.py:274
↓ 1 callersMethoddecode_latent_to_preview
(self, x0)
ldm_patched/utils/latent_visualization.py:13
↓ 1 callersMethoddecode_latent_to_preview_image
(self, preview_format, x0)
ldm_patched/utils/latent_visualization.py:16
↓ 1 callersMethoddecode_tiled
(self, samples, tile_x=64, tile_y=64, overlap = 16)
ldm_patched/modules/sd.py:249
↓ 1 callersFunctiondefault
(val, d)
ldm_patched/modules/gligen.py:15
↓ 1 callersFunctiondelete_folder_content
(folder, prefix=None)
modules/launch_util.py:103
↓ 1 callersFunctiondetect_unet_config
(state_dict, key_prefix, dtype)
ldm_patched/modules/model_detection.py:31
↓ 1 callersFunctiondevice_supports_non_blocking
(device)
ldm_patched/modules/model_management.py:594
↓ 1 callersFunctiondownload_models
(default_model, previous_default_models, checkpoint_downloads, embeddings_downloads, lora_downloads, vae_downl
launch.py:103
↓ 1 callersFunctiondownloading_sam_vit_b
()
modules/config.py:973
↓ 1 callersFunctiondownloading_sam_vit_h
()
modules/config.py:991
↓ 1 callersFunctiondownloading_sam_vit_l
()
modules/config.py:982
↓ 1 callersFunctiondownloading_upscale_model
()
modules/config.py:944
↓ 1 callersMethoddpm_solver_adaptive
(self, x, t_start, t_end, order=3, rtol=0.05, atol=0.0078, h_init=0.05, pcoeff=0., icoeff=1., dcoeff=0., accep
ldm_patched/k_diffusion/sampling.py:412
↓ 1 callersMethoddpm_solver_fast
(self, x, t_start, t_end, nfe, eta=0., s_noise=1., noise_sampler=None)
ldm_patched/k_diffusion/sampling.py:373
↓ 1 callersFunctiondrop_block_2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf DropBlock with an experimental gaussian noise option. This layer has been tested on a few tra
ldm_patched/pfn/architecture/timm/drop.py:22
↓ 1 callersFunctiondrop_block_fast_2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf DropBlock with an experimental gaussian noise option. Simplied from above without concern for
ldm_patched/pfn/architecture/timm/drop.py:91
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). From: https://github.com/huggingface/pytorch-image-models
ldm_patched/pfn/architecture/HAT.py:15
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for E
ldm_patched/pfn/architecture/timm/drop.py:187
↓ 1 callersFunctiondtype_size
(dtype)
ldm_patched/modules/model_management.py:456
↓ 1 callersFunctiondump_english_config
(components)
modules/localization.py:31
↓ 1 callersFunctionefficient_dot_product_attention
Computes efficient dot-product attention given query, transposed key, and value. This is efficient version of attention presented in https
ldm_patched/ldm/modules/sub_quadratic_attention.py:187
↓ 1 callersFunctionencode
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
extras/facexlib/detection/retinaface_utils.py:200
↓ 1 callersMethodencode
(self, clip_vision, init_image, vae, width, height, batch_size, elevation, azimuth)
ldm_patched/contrib/external_stable3d.py:44
↓ 1 callersMethodencode
(self, tokens)
ldm_patched/modules/sd1_clip.py:189
↓ 1 callersMethodencode
(self, x)
ldm_patched/pfn/architecture/face/restoreformer_arch.py:760
↓ 1 callersMethodencode
( self, x: torch.Tensor, return_reg_log: bool = False, unregularized: bool = F
ldm_patched/ldm/models/autoencoder.py:124
↓ 1 callersMethodencode_adm
(self, **kwargs)
ldm_patched/modules/model_base.py:94
↓ 1 callersMethodencode_adm
(self, **kwargs)
ldm_patched/modules/model_base.py:321
↓ 1 callersFunctionencode_landm
Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard overlap) with the prior boxes. Arg
extras/facexlib/detection/retinaface_utils.py:224
↓ 1 callersMethodencode_tiled
(self, pixel_samples, tile_x=512, tile_y=512, overlap = 64)
ldm_patched/modules/sd.py:273
↓ 1 callersMethodencode_token_weights
(self, token_weight_pairs)
ldm_patched/modules/sd1_clip.py:512
↓ 1 callersFunctionescape_important
(text)
ldm_patched/modules/sd1_clip.py:247
↓ 1 callersFunctionexists
(val)
ldm_patched/modules/gligen.py:7
↓ 1 callersFunctionexists
(val)
ldm_patched/pfn/architecture/OmniSR/OSA.py:24
↓ 1 callersFunctionexpand_directory_list
(directories)
ldm_patched/modules/sd1_clip.py:276
↓ 1 callersFunctionextract_original_prompts
Takes a style and compares it to the prompt and negative prompt. If the style matches, returns True plus the prompt and negative prompt with
modules/util.py:278
↓ 1 callersFunctionextract_styles_from_prompt
(prompt, negative_prompt)
modules/util.py:302
↓ 1 callersFunctionfilter_files_extensions
(files, extensions)
ldm_patched/utils/path_utils.py:166
↓ 1 callersFunctionfindSimilarity
(uv, xy, options=None)
extras/facexlib/detection/matlab_cp2tform.py:94
↓ 1 callersFunctionfitToElement
* This function fits the target element to the screen by calculating * the required scale and offsets. It also updates the global variables
javascript/zoom.js:295
↓ 1 callersFunctionfitToScreen
()
javascript/zoom.js:357
↓ 1 callersFunctionfn
(tau)
ldm_patched/k_diffusion/sampling.py:259
↓ 1 callersFunctionfooocus_fill
(image, mask)
modules/inpaint_worker.py:136
↓ 1 callersMethodforward
(self, x)
ldm_patched/t2ia/adapter.py:134
↓ 1 callersMethodforward
(self, x)
ldm_patched/pfn/architecture/LaMa.py:368
↓ 1 callersMethodforward
(self, x, output_shape=None)
ldm_patched/ldm/modules/diffusionmodules/openaimodel.py:79
← previousnext →501–600 of 2,411, ranked by callers