Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/FaceDetection-DSFD
/ functions
Functions
174 in github.com/Tencent/FaceDetection-DSFD
⨍
Functions
174
◇
Types & classes
47
Method
__init__
(self, lambd)
utils/augmentations.py:67
Method
__init__
(self, mean)
utils/augmentations.py:81
Method
__init__
(self, size=300)
utils/augmentations.py:113
Method
__init__
(self, lower=0.5, upper=1.5)
utils/augmentations.py:123
Method
__init__
(self, delta=18.0)
utils/augmentations.py:137
Method
__init__
(self)
utils/augmentations.py:150
Method
__init__
(self, current='BGR', transform='HSV')
utils/augmentations.py:164
Method
__init__
(self, lower=0.5, upper=1.5)
utils/augmentations.py:179
Method
__init__
(self, delta=32)
utils/augmentations.py:194
Method
__init__
(self)
utils/augmentations.py:229
Method
__init__
(self , size)
utils/augmentations.py:334
Method
__init__
(self, mean)
utils/augmentations.py:447
Method
__init__
(self, swaps)
utils/augmentations.py:492
Method
__init__
(self)
utils/augmentations.py:511
Method
__init__
(self , image_size)
utils/augmentations.py:537
Method
__init__
(self, size=300, mean=(104, 117, 123))
utils/augmentations.py:636
Method
__init__
(self, classes, class_agnostic)
model/fpn.py:26
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
model/detnet_backbone.py:17
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
model/detnet_backbone.py:65
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
model/resnet.py:36
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
model/resnet.py:68
Method
__init__
(self, classes, num_layers=101, pretrained=False, class_agnostic=False)
model/resnet.py:218
Method
__init__
(self, class_to_ind=None)
data/widerface.py:41
Method
__init__
(self, root, image_sets='train', transform=None, target_transform=WIDERFaceA
data/widerface.py:109
Method
__init__
(self, size, mean)
data/__init__.py:45
Method
__init__
(self, mean)
data/__init__.py:62
Method
__init__
(self)
data/coco.py:52
Method
__init__
(self, root, image_set='trainval35k', transform=None, target_transform=COCOAnnotationTransfor
data/coco.py:92
Method
__init__
(self, class_to_ind=None, keep_difficult=False)
data/voc0712.py:50
Method
__init__
(self, root=None, image_sets=None, transform=None, target_transform=VOCAnnot
data/voc0712.py:103
Method
__init__
(self,n_channels, scale)
layers/modules/l2norm.py:10
Method
__init__
(self, num_classes, overlap_thresh, prior_for_matching,
layers/modules/multibox_loss.py:44
Method
__init__
(self, num_classes, bkg_label, top_k, conf_thresh, nms_thresh)
layers/functions/detection.py:19
Method
__init__
(self, cfg , min_size, max_size)
layers/functions/prior_box.py:14
Method
__len__
(self)
data/widerface.py:200
Method
__len__
(self)
data/voc0712.py:125
Method
__repr__
(self)
data/coco.py:178
Method
_upsample_add
(self, x, y)
face_ssd.py:401
Method
create_architecture
(self)
model/fpn.py:85
Function
detection_collate
Custom collate fn for dealing with batches of images that have a different number of associated object annotations (bounding boxes). Argument
data/__init__.py:16
Method
forward
(self, x)
face_ssd.py:40
Method
forward
Applies network layers and ops on input image(s) x. Args: x: input image or batch of images. Shape: [batch,3,300,300]. R
face_ssd.py:194
Method
forward
(self, x)
face_ssd.py:501
Method
forward
(self, im_data, im_info, gt_boxes, num_boxes)
model/fpn.py:167
Method
forward
(self, x)
model/detnet_backbone.py:39
Method
forward
(self, x)
model/detnet_backbone.py:90
Method
forward
(self, x)
model/detnet_backbone.py:173
Method
forward
(self, x)
model/resnet.py:46
Method
forward
(self, x)
model/resnet.py:81
Method
forward
(self, x)
model/resnet.py:145
Method
forward
(self, x)
layers/modules/l2norm.py:21
Method
forward
(self, predictions, targets)
layers/modules/multibox_loss.py:71
Method
forward
Args: loc_data: (tensor) Loc preds from loc layers Shape: [batch,num_priors*4] conf_data: (tensor) Sh
layers/functions/detection.py:30
Function
infer_multi_scale_sfd
(net , img , transform , thresh , cuda , max_im_shrink)
demo.py:107
Function
load_pretrained_imagenet_weights
(model, state_dict)
model/detnet_backbone.py:190
Method
load_weights
(self, base_file)
face_ssd.py:381
Method
normal_init
weight initalizer: truncated normal and random normal.
model/fpn.py:47
Method
part_forward
Multibox Loss Args: predictions (tuple): A tuple containing loc preds, conf preds, and prior boxes from SSD net.
layers/modules/multibox_loss.py:221
Method
pull_anno
Returns the original annotation of image at index Note: not using self.__getitem__(), as any transformations passed in could mess up
data/widerface.py:276
Method
pull_anno
Returns the original annotation of image at index Note: not using self.__getitem__(), as any transformations passed in could mess up
data/voc0712.py:162
Method
pull_tensor
Returns the original image at an index in tensor form Note: not using self.__getitem__(), as any transformations passed in could mess
data/widerface.py:293
Method
pull_tensor
Returns the original image at an index in tensor form Note: not using self.__getitem__(), as any transformations passed in could mess
data/voc0712.py:179
Function
resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/resnet.py:207
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/resnet.py:163
Function
resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/resnet.py:174
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
model/resnet.py:185
Method
set_bn_eval
(m)
model/resnet.py:314
Method
set_bn_fix
(m)
model/resnet.py:282
Method
train
(self, mode=True)
model/resnet.py:293
Function
vis_detections
Draw detected bounding boxes.
widerface_val.py:240
Method
vis_detections
(self , im, dets, image_name )
data/widerface.py:225
Method
vis_detections_v2
(self , im, dets, image_name )
data/widerface.py:249
Method
weights_init
(m, mean, stddev, truncated=False)
model/fpn.py:59
Function
write_to_txt
(f, det , event , im_name)
demo.py:52
← previous
101–174 of 174, ranked by callers