↓ 4 callersFunctiontransform_anchor_opr from [x0, x1, y0, y1] to [c_x, cy, w, h] x1 = x0 + w - 1 c_x = (x0 + x1) / 2 = (2x0 + w - 1) / 2 = x0 + (w - 1) / 2
data/anchors_opr/anchor_utils.py:11
↓ 3 callersMethod__init__(self, alpha=0.25, gamma=2.0, ignore_label=-1, eps=1e-7, few_sample=False)
modelling/loss_modules/loss.py:50
↓ 2 callersMethod__init__(self, cls_loss_fn=None, loc_loss_fn=None, \
cls_loss_weight=1, loc_loss_weight=2, fp_th=0.5,
modelling/criterion.py:34
↓ 2 callersMethod__init__(self, depth=50, groups=1, width_per_group=64, \
replace_stride_with_dilation=None, \
modelling/backbones/resnet.py:128
↓ 2 callersMethod__init__(self, context_range=[5], channel_list=[256, 512, 1024, 2048], use_dilated_conv=False, use_aspp=False)
modelling/architectures/widerface_basenet.py:17
↓ 2 callersMethod__init__(self, weight_init_fn=None, c2_out_ch=256, c3_out_ch=512, c4_out_ch=1024, c5_out_ch=2048, \
c
modelling/neck_modules/fpn.py:33