↓ 2 callersMethodset_model_patch_replace(self, patch, name, block_name, number, transformer_index=None)
ldm_patched/modules/model_patcher.py:76
↓ 2 callersFunctionwindow_partition Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
ldm_patched/pfn/architecture/SwinIR.py:47
↓ 2 callersFunctionwindow_partition Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
ldm_patched/pfn/architecture/Swin2SR.py:49
↓ 1 callersFunctionMBConv(
dim_in, dim_out, *, downsample, expansion_rate=4, shrinkage_rate=0.25, dropout=0.0
)
ldm_patched/pfn/architecture/OmniSR/OSA.py:170
↓ 1 callersMethod__init__(self, version="openai/clip-vit-large-patch14", device="cpu", max_length=77,
freeze=True, lay
ldm_patched/modules/sd1_clip.py:68
↓ 1 callersMethod_register_schedule(self, given_betas=None, beta_schedule="linear", timesteps=1000,
linear_start=1e-4,
ldm_patched/modules/model_sampling.py:54
↓ 1 callersFunctionapply_control_nets(async_task, height, ip_adapter_face_path, ip_adapter_path, width, current_progress)
modules/async_worker.py:396
↓ 1 callersMethodbatched_transform Arguments: frames: a list of PIL.Image, or torch.Tensor(shape=[n, h, w, c], type=np.float32, BGR format).
extras/facexlib/detection/retinaface.py:261
↓ 1 callersFunctionbilateral_blur(
input: Tensor,
kernel_size: tuple[int, int] | int = (13, 13),
sigma_color: float | Tensor = 3.0,
modules/anisotropic.py:118