MCPcopy Create free account

hub / github.com/cunjian/pytorch_face_landmark / functions

Functions362 in github.com/cunjian/pytorch_face_landmark

Methodforward
(self, x)
models/mobilefacenet.py:34
Methodforward
(self, x)
models/mobilefacenet.py:46
Methodforward
(self, x)
models/mobilefacenet.py:65
Methodforward
(self, x)
models/mobilefacenet.py:77
Methodforward
(self, x)
models/mobilefacenet.py:97
Methodforward
(self, x)
models/mobilefacenet.py:140
Functionfreeze_net_layers
(net)
vision/utils/misc.py:39
Methodget_annotation
(self, index)
vision/datasets/voc_dataset.py:73
Methodget_image
(self, index)
vision/datasets/voc_dataset.py:66
Functionget_mean_and_std
Compute the mean and std value of dataset.
utils/misc.py:19
Functionhard_negative_mining
It used to suppress the presence of a large number of negative prediction. It works on image level not batch level. For any example/image
vision/utils/box_utils.py:131
Functionhard_nms
Args: box_scores (N, 5): boxes in corner-form and probabilities. iou_threshold: intersection over union threshold. top_k
vision/utils/box_utils_numpy.py:85
Methodinit
(self)
vision/ssd/ssd.py:130
Methodinit_from_base_net
(self, model)
vision/ssd/ssd.py:114
Methodinit_from_pretrained_ssd
(self, model)
vision/ssd/ssd.py:121
Functioninit_params
Init layer parameters.
utils/misc.py:34
Functionisdir
(dirname)
utils/osutils.py:16
Functionisfile
(fname)
utils/osutils.py:13
Methoditer
(self, it)
utils/progress/progress/__init__.py:116
Functionjoin
(path, *paths)
utils/osutils.py:19
Functionload_checkpoint
(checkpoint_path)
vision/utils/misc.py:35
Functionload_model
()
test_camera_mtcnn_onnx.py:43
Functionlog_sum_exp
Utility function for computing log_sum_exp while determining This will be used to determine unaveraged confidence loss across all examples in
FaceBoxes/utils/box_utils.py:198
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
FaceBoxes/utils/box_utils.py:98
Functionmatrix_iof
return iof of a and b, numpy version for data augenmentation
FaceBoxes/utils/box_utils.py:86
Functionmatrix_iou
return iou of a and b, numpy version for data augenmentation
FaceBoxes/utils/box_utils.py:73
Functionmatrix_iou
return iou of a and b, numpy version for data augenmentation
Retinaface/utils/box_utils.py:71
Functionmkdir_p
make dir if not exist
utils/misc.py:49
Functionmkdir_p
(dir_path)
utils/osutils.py:6
Functionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
FaceBoxes/utils/box_utils.py:212
Functionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
Retinaface/utils/box_utils.py:264
Functionnms
Non-maximum suppression. Arguments: boxes: a float numpy array of shape [n, 5], where each row is (xmin, ymin, xmax, ymax, sc
MTCNN/box_utils.py:5
Functionnms
(box_scores, nms_method=None, score_threshold=None, iou_threshold=None, sigma=0.5, top_k=-1, candidate
vision/utils/box_utils.py:201
FunctionnormalizedME
(output,target,w,h)
utils/eval.py:21
Methodpercent
(self)
utils/progress/progress/__init__.py:98
Methodplot
(self, names=None)
utils/logger.py:92
Methodpredict
(self, image, top_k=-1, prob_threshold=None)
vision/ssd/predictor.py:29
FunctionprocessImage
Subtract mean and normalize, imgs [N, 1, W, H]
common/utils.py:103
Methodprogress
(self)
utils/progress/progress/__init__.py:102
MethodprojectLandmark
(self, landmark)
common/utils.py:19
Functionpy_cpu_nms
Pure Python NMS baseline.
FaceBoxes/utils/nms/py_cpu_nms.py:10
Methodremaining
(self)
utils/progress/progress/__init__.py:106
Functionrotate
given a face with bbox and landmark, rotate with alpha and return rotated face with bbox, landmark (absolute position)
common/utils.py:154
Functionsave_checkpoint
(epoch, net_state_dict, optimizer_state_dict, best_score, checkpoint_path, model_path)
vision/utils/misc.py:25
Functionscale
scale the landmark from [0,1] to [-1,1]
common/utils.py:136
Methodset_names
(self, names)
utils/logger.py:47
Functionshow_batch
(images, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:38
Functionshow_bboxes
Draw bounding boxes and facial landmarks. Arguments: img: an instance of PIL.Image. bounding_boxes: a float numpy array of shape
MTCNN/visualization_utils.py:4
Functionshow_mask
(images, masklist, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:73
Functionshow_mask_single
(images, mask, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:44
Methodstart
(self)
utils/progress/progress/__init__.py:61
Methodstart
(self)
utils/progress/progress/__init__.py:109
Functionstore_labels
(path, labels)
vision/utils/misc.py:44
Functionstr2bool
(s)
vision/utils/misc.py:6
Methodtic
(self)
Retinaface/utils/timer.py:20
Methodtoc
(self, average=True)
Retinaface/utils/timer.py:25
Methodupdate
(self)
utils/progress/progress/counter.py:26
Methodupdate
(self)
utils/progress/progress/counter.py:33
Methodupdate
(self)
utils/progress/progress/counter.py:41
Methodupdate
(self)
utils/progress/progress/spinner.py:27
Methodupdate
(self)
utils/progress/progress/bar.py:32
Methodupdate
(self)
utils/progress/progress/bar.py:66
← previous301–362 of 362, ranked by callers