Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cunjian/pytorch_face_landmark
/ functions
Functions
362 in github.com/cunjian/pytorch_face_landmark
⨍
Functions
362
◇
Types & classes
104
Method
forward
(self, x)
models/mobilefacenet.py:34
Method
forward
(self, x)
models/mobilefacenet.py:46
Method
forward
(self, x)
models/mobilefacenet.py:65
Method
forward
(self, x)
models/mobilefacenet.py:77
Method
forward
(self, x)
models/mobilefacenet.py:97
Method
forward
(self, x)
models/mobilefacenet.py:140
Function
freeze_net_layers
(net)
vision/utils/misc.py:39
Method
get_annotation
(self, index)
vision/datasets/voc_dataset.py:73
Method
get_image
(self, index)
vision/datasets/voc_dataset.py:66
Function
get_mean_and_std
Compute the mean and std value of dataset.
utils/misc.py:19
Function
hard_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
Function
hard_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
Method
init
(self)
vision/ssd/ssd.py:130
Method
init_from_base_net
(self, model)
vision/ssd/ssd.py:114
Method
init_from_pretrained_ssd
(self, model)
vision/ssd/ssd.py:121
Function
init_params
Init layer parameters.
utils/misc.py:34
Function
isdir
(dirname)
utils/osutils.py:16
Function
isfile
(fname)
utils/osutils.py:13
Method
iter
(self, it)
utils/progress/progress/__init__.py:116
Function
join
(path, *paths)
utils/osutils.py:19
Function
load_checkpoint
(checkpoint_path)
vision/utils/misc.py:35
Function
load_model
()
test_camera_mtcnn_onnx.py:43
Function
log_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
Function
match
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
Function
matrix_iof
return iof of a and b, numpy version for data augenmentation
FaceBoxes/utils/box_utils.py:86
Function
matrix_iou
return iou of a and b, numpy version for data augenmentation
FaceBoxes/utils/box_utils.py:73
Function
matrix_iou
return iou of a and b, numpy version for data augenmentation
Retinaface/utils/box_utils.py:71
Function
mkdir_p
make dir if not exist
utils/misc.py:49
Function
mkdir_p
(dir_path)
utils/osutils.py:6
Function
nms
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
Function
nms
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
Function
nms
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
Function
nms
(box_scores, nms_method=None, score_threshold=None, iou_threshold=None, sigma=0.5, top_k=-1, candidate
vision/utils/box_utils.py:201
Function
normalizedME
(output,target,w,h)
utils/eval.py:21
Method
percent
(self)
utils/progress/progress/__init__.py:98
Method
plot
(self, names=None)
utils/logger.py:92
Method
predict
(self, image, top_k=-1, prob_threshold=None)
vision/ssd/predictor.py:29
Function
processImage
Subtract mean and normalize, imgs [N, 1, W, H]
common/utils.py:103
Method
progress
(self)
utils/progress/progress/__init__.py:102
Method
projectLandmark
(self, landmark)
common/utils.py:19
Function
py_cpu_nms
Pure Python NMS baseline.
FaceBoxes/utils/nms/py_cpu_nms.py:10
Method
remaining
(self)
utils/progress/progress/__init__.py:106
Function
rotate
given a face with bbox and landmark, rotate with alpha and return rotated face with bbox, landmark (absolute position)
common/utils.py:154
Function
save_checkpoint
(epoch, net_state_dict, optimizer_state_dict, best_score, checkpoint_path, model_path)
vision/utils/misc.py:25
Function
scale
scale the landmark from [0,1] to [-1,1]
common/utils.py:136
Method
set_names
(self, names)
utils/logger.py:47
Function
show_batch
(images, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:38
Function
show_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
Function
show_mask
(images, masklist, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:73
Function
show_mask_single
(images, mask, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
utils/visualize.py:44
Method
start
(self)
utils/progress/progress/__init__.py:61
Method
start
(self)
utils/progress/progress/__init__.py:109
Function
store_labels
(path, labels)
vision/utils/misc.py:44
Function
str2bool
(s)
vision/utils/misc.py:6
Method
tic
(self)
Retinaface/utils/timer.py:20
Method
toc
(self, average=True)
Retinaface/utils/timer.py:25
Method
update
(self)
utils/progress/progress/counter.py:26
Method
update
(self)
utils/progress/progress/counter.py:33
Method
update
(self)
utils/progress/progress/counter.py:41
Method
update
(self)
utils/progress/progress/spinner.py:27
Method
update
(self)
utils/progress/progress/bar.py:32
Method
update
(self)
utils/progress/progress/bar.py:66
← previous
301–362 of 362, ranked by callers