MCPcopy Create free account

hub / github.com/damo-cv/MogFace / functions

Functions534 in github.com/damo-cv/MogFace

Functionmasks_to_boxes
Compute the bounding boxes around the provided masks The masks should be in format [N, H, W] where N is the number of masks, (H, W) are the spati
utils/box_ops.py:64
Functionmatch
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
evaluation/box_utils_revised_1.py:180
FunctionmatchNoBipartite
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
evaluation/box_utils_revised_1.py:231
FunctionmatchNoBipartiteIgnore
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
evaluation/box_utils_revised_1.py:558
FunctionmatchNoBipartiteTOPK
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
evaluation/box_utils_revised_1.py:481
FunctionmatchNoBipartiteV1
Match each prior box with the ground truth box of the highest jaccard overlap, encode the bounding boxes, then return the matched indices corr
evaluation/box_utils_revised_1.py:420
Functionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
evaluation/box_utils_revised_1.py:676
Functionnormalize_anchor
from [c_x, cy, w, h] to [x0, x1, y0, y1]
data/anchors_opr/anchor_utils.py:4
Functionnormalize_img
TODO: check the detail
data/transform/image_util.py:337
Functionpartial_apply
(self, *args, **kwargs)
core/workspace.py:110
Functionpython_constructor
(loader, node)
core/config/yaml_helpers.py:25
Functionpython_representer
(dumper, obj)
core/config/yaml_helpers.py:49
Functionrandom_mirror
(img, bbox_labels)
data/transform/image_util.py:290
Functionregister
Register a given module class. Args: cls (type): Module class to be registered. Returns: cls
core/workspace.py:128
Functionresize_img
(img, bbox_labels, settings, resize_height=None, resize_width=None, resize_ratio=None)
data/transform/image_util.py:304
Functionresnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True
modelling/backbones/resnet.py:281
Functionresnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True
modelling/backbones/resnet.py:292
Functionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True,
modelling/backbones/resnet.py:259
Functionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True,
modelling/backbones/resnet.py:270
Functionresnext101_32x8d
Constructs a ResNeXt-101 32x8d model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool):
modelling/backbones/resnet.py:316
Functionresnext50_32x4d
Constructs a ResNeXt-50 32x4d model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): I
modelling/backbones/resnet.py:303
Functionserializable
Add loader and dumper for given class, which must be "trivially serializable" Args: cls: class to be serialized Returns: cl
core/config/yaml_helpers.py:61
Methodset_strict
(self, strict)
core/config/schema.py:107
Functiontransform_anchor
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:33
Methodvalidate
(self, num_validated_img=100, shuffle=True)
data/datasets_utils/widerface.py:186
Methodweight_init
(self)
modelling/neck_modules/bffpn.py:157
Methodweight_init
(self)
modelling/neck_modules/fpn.py:168
Methodweight_init
(self)
modelling/pred_modules/pred_net.py:178
Methodweight_init
(self)
modelling/pred_modules/pred_net.py:306
Methodweight_init
(self)
modelling/pred_modules/pred_net.py:404
Methodweight_init
(self)
modelling/pred_modules/pred_net.py:507
Functionwide_resnet101_2
Constructs a Wide ResNet-101-2 model. The model is the same as ResNet except for the bottleneck number of channels which is twice larger in e
modelling/backbones/resnet.py:346
Functionwide_resnet50_2
Constructs a Wide ResNet-50-2 model. The model is the same as ResNet except for the bottleneck number of channels which is twice larger in ev
modelling/backbones/resnet.py:329
Functionwrite_to_txt
(f, det)
test_single.py:240
← previous501–534 of 534, ranked by callers