MCPcopy Create free account

hub / github.com/JDAI-CV/FaceX-Zoo / functions

Functions1,054 in github.com/JDAI-CV/FaceX-Zoo

↓ 1 callersFunctionget_lr
Get the current learning rate from optimizer.
training_mode/conventional_training/train.py:50
↓ 1 callersFunctionget_lr
Get the current learning rate from optimizer.
training_mode/conventional_training/train_amp.py:51
↓ 1 callersFunctionget_lr
(optimizer)
addition_module/DMUE/pretrain/train_mv_softmax.py:47
↓ 1 callersFunctionget_lr
Get the current learning rate from optimizer.
addition_module/face_lightning/KDF/training_mode/kd_training/train.py:53
↓ 1 callersFunctionget_lr
Get the current learning rate from optimizer.
addition_module/face_lightning/KDF/training_mode/cls_training/train.py:52
↓ 1 callersFunctionget_lr
Get the current learning rate from optimizer.
addition_module/HSST/train.py:28
↓ 1 callersMethodget_masked_facescrub_feature_list
Get the feature list of masked facescrub. Returns: A numpy array, the shape is N * feat_dim, N is the number of images in facescr
test_protocol/megaface/megaface_evaluator.py:275
↓ 1 callersMethodget_masked_facescrub_feature_list
Get the feature list of masked facescrub. Returns: A numpy array, the shape is N * feat_dim, N is the number of images in facescr
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:275
↓ 1 callersMethodget_masked_facescrub_id2feature_list
Get the feature list of each id in masked facescrub. Returns: A dict,key is the id in masked facescrub,value is the feature list
test_protocol/megaface/megaface_evaluator.py:290
↓ 1 callersMethodget_masked_facescrub_id2feature_list
Get the feature list of each id in masked facescrub. Returns: A dict,key is the id in masked facescrub,value is the feature list
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:290
↓ 1 callersMethodget_megaface_feature_list
Get the feature list of megaface. Returns: A numpy array, the shape is N * feat_dim, N is the number of images in megaface.
test_protocol/megaface/megaface_evaluator.py:87
↓ 1 callersMethodget_megaface_feature_list
Get the feature list of megaface. Returns: A numpy array, the shape is N * feat_dim, N is the number of images in megaface.
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:87
↓ 1 callersFunctionget_model_params
Get the block args and global params for a given model name. Args: model_name (str): Model's name. override_params (dict): A dict
backbone/EfficientNets.py:543
↓ 1 callersMethodget_new_texture
Get new texture Mainly for data augmentation.
addition_module/face_mask_adding/FMA-3D/face_masker.py:184
↓ 1 callersMethodget_num_inchannels
(self)
backbone/HRNet.py:227
↓ 1 callersMethodget_pair
(self, label, domain_flag)
addition_module/DSDG/data/generation_dataset.py:92
↓ 1 callersMethodget_pairs
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:23
↓ 1 callersMethodget_parser
(self)
test_protocol/lfw/pairs_parser.py:181
↓ 1 callersMethodget_parser
(self)
addition_module/face_lightning/KDF/test_protocol/lfw/pairs_parser.py:181
↓ 1 callersFunctionget_point_weight
Get the weights of the position Methods: https://gamedev.stackexchange.com/questions/23743/whats-the-most-efficient-way-to-find-barycentric-coord
addition_module/face_mask_adding/FMA-3D/utils/render.py:43
↓ 1 callersMethodget_rankN_accuracy
Get the rank N accuracy Args: cur_rank(int): current rank, cur_rank=1 for rank1 accuracy. Returns: accuracy(
test_protocol/megaface/megaface_evaluator.py:149
↓ 1 callersMethodget_rankN_accuracy
Get the rank N accuracy Args: cur_rank(int): current rank, cur_rank=1 for rank1 accuracy. Returns: accuracy(
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:149
↓ 1 callersMethodget_ref_texture_src
(self)
addition_module/face_mask_adding/FMA-3D/face_masker.py:104
↓ 1 callersFunctionget_score_list
(test_pair_list, image_name2feature)
test_protocol/utils/pair_analysis.py:15
↓ 1 callersFunctionget_score_list
(test_pair_list, image_name2feature)
addition_module/face_lightning/KDF/test_protocol/utils/pair_analysis.py:15
↓ 1 callersFunctionget_similarity_transform_matrix
Args: from_pts, to_pts: b x n x 2 Returns: torch.Tensor: b x 3 x 3
face_sdk/utils/transform.py:8
↓ 1 callersMethodget_single_image_x
(self, images_path, maps_path, videoname)
addition_module/DSDG/DUM/Load_OULUNPUcrop_train.py:203
↓ 1 callersMethodget_single_image_x
(self, images_path, maps_path, videoname)
addition_module/DSDG/DUM/Load_OULUNPUcrop_valtest.py:91
↓ 1 callersFunctionget_size
(img)
addition_module/DMUE/preprocess/mtcnn/detect_face.py:335
↓ 1 callersMethodget_triplets
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:86
↓ 1 callersMethodget_vertices
(self, pos)
addition_module/face_mask_adding/FMA-3D/face_masker.py:72
↓ 1 callersMethodget_vertices
Get vertices Args: face_lms: face landmarks. image:[0, 255]
addition_module/face_mask_adding/FMA-3D/face_masker.py:172
↓ 1 callersFunctionget_width_and_height_from_size
Obtain height and width from x. Args: x (int, tuple or list): Data size. Returns: size: A tuple or list (H,W).
backbone/EfficientNets.py:155
↓ 1 callersMethodimage2template_feature
(self, img_feats)
test_protocol/ijbc/ijbc_evaluator.py:86
↓ 1 callersMethodimage2template_feature
(self, img_feats)
addition_module/face_lightning/KDF/test_protocol/ijbc/ijbc_evaluator.py:86
↓ 1 callersFunctioninference
(model, img_path, transform, is_cuda=True)
addition_module/DMUE/inference.py:28
↓ 1 callersMethodinit_weights
(self, pretrained='',)
backbone/HRNet.py:501
↓ 1 callersFunctionl2_norm
(input,axis=1)
backbone/resnest/resnest.py:18
↓ 1 callersFunctionl2_norm
(input,axis=1)
face_sdk/models/network_def/mobilefacenet_def.py:16
↓ 1 callersFunctionlarge_crop
(boxes, image)
addition_module/DMUE/preprocess/crop_msra.py:24
↓ 1 callersMethodlist_reader
(self, root_path, fileList)
addition_module/DSDG/data/recognition_dataset.py:131
↓ 1 callersFunctionlms106_2_lms5
(lms_106)
face_sdk/utils/lms_trans.py:35
↓ 1 callersFunctionlms25_2_lms5
(lms_25)
face_sdk/utils/lms_trans.py:47
↓ 1 callersMethodload_feature
Load features to memory. Returns: image_name2feature(dict): key is the name of image, value is feature of image.
test_protocol/utils/extractor/feature_extractor.py:81
↓ 1 callersMethodload_feature
Load features to memory. Returns: image_name2feature(dict): key is the name of image, value is feature of image.
addition_module/face_lightning/KDF/test_protocol/utils/extractor/feature_extractor.py:81
↓ 1 callersFunctionload_model
()
addition_module/DMUE/preprocess/face_alignmenet/get_landmark.py:27
↓ 1 callersFunctionload_pretrained_weights
Loads pretrained weights from weights path or download using url. Args: model (Module): The whole model of efficientnet. model_na
backbone/EfficientNets.py:596
↓ 1 callersFunctionmain
()
addition_module/DSDG/generated.py:30
↓ 1 callersFunctionmain
()
addition_module/DSDG/train_generator.py:51
↓ 1 callersFunctionmake_target_model
(cfg)
addition_module/DMUE/models/make_target_model.py:80
↓ 1 callersFunctionmake_transform
()
addition_module/DMUE/pretrain/utils/make_transform.py:7
↓ 1 callersFunctionmtcnn_detect
(mtcnn, image)
addition_module/DMUE/preprocess/crop_msra.py:8
↓ 1 callersFunctionnms_numpy
(boxes, scores, threshold, method)
addition_module/DMUE/preprocess/mtcnn/detect_face.py:221
↓ 1 callersMethodno_weight_decay
(self)
backbone/Swin_Transformer.py:559
↓ 1 callersMethodno_weight_decay_keywords
(self)
backbone/Swin_Transformer.py:563
↓ 1 callersFunctionnorm_crop
(img, landmark, image_size=112, mode='arcface')
face_sdk/core/image_cropper/arcface_cropper/FaceRecImageCropper.py:95
↓ 1 callersFunctionparse_lb_txt
(filename)
addition_module/DMUE/config.py:5
↓ 1 callersMethodparse_pairs
The method for parsing pair list.
test_protocol/lfw/pairs_parser.py:25
↓ 1 callersMethodparse_pairs
The method for parsing pair list.
addition_module/face_lightning/KDF/test_protocol/lfw/pairs_parser.py:25
↓ 1 callersFunctionparse_test_paris
(pairs_file)
test_protocol/utils/pair_analysis.py:34
↓ 1 callersFunctionparse_test_paris
(pairs_file)
addition_module/face_lightning/KDF/test_protocol/utils/pair_analysis.py:34
↓ 1 callersMethodprocess
(self, image, image_info)
addition_module/face_mask_adding/FMA-3D/face_masker.py:36
↓ 1 callersMethodpy_cpu_nms
Python version NMS. Returns: The kept index after NMS.
face_sdk/core/model_handler/face_detection/FaceDetModelHandler.py:131
↓ 1 callersFunctionread_image
Keep reading image until succeed. This can avoid IOError incurred by heavy IO process.
addition_module/DMUE/pretrain/utils/dataset.py:11
↓ 1 callersFunctionread_lmdb
Keep reading image until succeed. This can avoid IOError incurred by heavy IO process.
addition_module/DMUE/datasets/bases.py:11
↓ 1 callersFunctionreconstruction_loss
(prediction, target, size_average=False)
addition_module/DSDG/misc/util.py:27
↓ 1 callersFunctionreduce_float
(f)
addition_module/DMUE/train_ddp.py:260
↓ 1 callersFunctionremove_megaface_noises
Remove the noise in megaface. We set the feature of noise faces to zero vector, since we use cos similarity as the distance metric. Args
test_protocol/remove_noises.py:72
↓ 1 callersFunctionremove_megaface_noises
Remove the noise in megaface. We set the feature of noise faces to zero vector, since we use cos similarity as the distance metric. Args
addition_module/face_lightning/KDF/test_protocol/remove_noises.py:72
↓ 1 callersMethodreset
(self)
addition_module/DMUE/pretrain/utils/AverageMeter.py:9
↓ 1 callersMethodreset
(self)
addition_module/DSDG/DUM/utils.py:18
↓ 1 callersMethodreset_parameters
(self)
head/ArcNegFace.py:28
↓ 1 callersFunctionresnet50_ibn_a
Constructs a ResNet-50 model.
addition_module/DMUE/models/resnet_ibn_multibranch.py:183
↓ 1 callersFunctionresnet50_ibn_a
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
addition_module/DMUE/pretrain/backbones/resnet_ibn_a.py:167
↓ 1 callersFunctionround_repeats
Calculate module's repeat number of a block based on depth multiplier. Use depth_coefficient of global_params. Args: repeats (int)
backbone/EfficientNets.py:109
↓ 1 callersFunctionsave_image
(image, img_dir, vedio_name, num)
addition_module/DSDG/data/extract_frame.py:5
↓ 1 callersFunctionsave_img
(img, path)
addition_module/DMUE/preprocess/mtcnn/detect_face.py:328
↓ 1 callersMethodselect_boxes
Selects a single box from multiple for a given image using one of multiple heuristics. Arguments: all_boxes {np.ndarray} -- I
addition_module/DMUE/preprocess/mtcnn/mtcnn.py:357
↓ 1 callersFunctionsemihard_negative
(loss_values, margin)
training_mode/siamese-triplet_training/pair_selector.py:128
↓ 1 callersMethodset_swish
Sets swish function as memory efficient (for training) or standard (for export). Args: memory_efficient (bool): Whether to use me
backbone/EfficientNets.py:743
↓ 1 callersFunctionset_weight_decay
(model, skip_list=(), skip_keywords=())
training_mode/swin_training/optimizer.py:35
↓ 1 callersFunctionshort_hash
(name)
backbone/resnest/ablation.py:29
↓ 1 callersFunctionshow_bchw
(image: torch.Tensor)
face_sdk/utils/show.py:50
↓ 1 callersFunctionshow_hwc
(image: torch.Tensor)
face_sdk/utils/show.py:39
↓ 1 callersMethodsplit_feature
(self, x, target)
addition_module/DMUE/models/resnet_ibn_multibranch.py:135
↓ 1 callersMethodsplit_feature
(self, x, target)
addition_module/DMUE/models/resnet_multibranch.py:146
↓ 1 callersMethodsplit_feature_makeLD
(self, x, target)
addition_module/DMUE/models/resnet_ibn_multibranch.py:147
↓ 1 callersMethodsplit_feature_makeLD
(self, x, target)
addition_module/DMUE/models/resnet_multibranch.py:158
↓ 1 callersFunctionswish
(x, inplace=False)
backbone/ReXNets.py:51
↓ 1 callersFunctionswish_bwd
(x, grad_output)
backbone/ReXNets.py:34
↓ 1 callersFunctionswish_fwd
(x)
backbone/ReXNets.py:29
↓ 1 callersMethodswitch_to_deploy
(self)
backbone/RepVGG.py:137
↓ 1 callersFunctiontest
()
addition_module/DSDG/DUM/test.py:33
↓ 1 callersMethodtest_cmc
Get the cmc curve for megaface Compute the accuracy of rank 1 to rank max_rank Args: max_rank(int): the max rank to comp
test_protocol/megaface/megaface_evaluator.py:133
↓ 1 callersMethodtest_cmc
Get the cmc curve for megaface Compute the accuracy of rank 1 to rank max_rank Args: max_rank(int): the max rank to comp
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:133
↓ 1 callersMethodtest_one_model
Get the accuracy of a model. Args: test_pair_list(list): the pair list given by PairsParser. image_name2feat
test_protocol/lfw/lfw_evaluator.py:38
↓ 1 callersMethodtest_one_model
Get the accuracy of a model. Args: test_pair_list(list): the pair list given by PairsParser. image_name2feat
addition_module/face_lightning/KDF/test_protocol/lfw/lfw_evaluator.py:38
↓ 1 callersFunctiontest_worker
(val_loader, model)
addition_module/DMUE/train.py:138
↓ 1 callersFunctiontest_worker
(val_loader, model)
addition_module/DMUE/train_ddp.py:192
↓ 1 callersFunctiontrain
Total training procedure.
training_mode/semi-siamese_training/train.py:98
← previousnext →301–400 of 1,054, ranked by callers