↓ 10 callersMethod__init__(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
facelib/detection/yolov5face/models/common.py:108
↓ 9 callersMethod__init__(self, in_channels, nf, emb_dim, ch_mult, num_res_blocks, resolution, attn_resolutions)
basicsr/archs/vqgan_arch.py:231
↓ 4 callersFunctionreorder_imageReorder images to 'HWC' order. If the input_order is (h, w), return (h, w, 1); If the input_order is (c, h, w), return (h, w, c); If the
basicsr/metrics/metric_util.py:6
↓ 3 callersMethod__init__(self, dim_embd=512, n_head=8, n_layers=9,
codebook_size=1024, latent_size=256,
basicsr/archs/codeformer_arch.py:192