MCPcopy Create free account

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

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

Methodforward
(self,x)
addition_module/face_lightning/KDF/backbone/ResNets.py:168
Methodforward
(self, input)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:14
Methodforward
(self, x)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:23
Methodforward
(self, x)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:34
Methodforward
(self, x)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:46
Methodforward
(self, x)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:65
Methodforward
(self, x)
addition_module/face_lightning/KDF/backbone/MobileFaceNets.py:87
Methodforward
(self, x)
addition_module/face_lightning/KDF/utils/net_util.py:48
Methodforward
(self, x)
addition_module/face_lightning/KDF/utils/net_util.py:85
Methodforward
(self, fm_s, fm_t)
addition_module/face_lightning/KDF/loss/fitnet.py:14
Methodforward
(self, feat_s, feat_t, eps=1e-6)
addition_module/face_lightning/KDF/loss/pkt.py:16
Methodforward
(self, factor_s, factor_t)
addition_module/face_lightning/KDF/loss/ft.py:13
Methodforward
(self, fm_s1, fm_s2, fm_t1, fm_t2)
addition_module/face_lightning/KDF/loss/fsp.py:14
Methodforward
(self, out_s, out_t)
addition_module/face_lightning/KDF/loss/snn_mimic.py:13
Methodforward
(self, out_s, out_t)
addition_module/face_lightning/KDF/loss/soft_target.py:14
Methodforward
(self, x)
addition_module/DSDG/networks/light_cnn.py:16
Methodforward
(self, x)
addition_module/DSDG/networks/light_cnn.py:28
Methodforward
(self, x)
addition_module/DSDG/networks/light_cnn.py:40
Methodforward
(self, x)
addition_module/DSDG/networks/light_cnn.py:72
Methodforward
(self, x)
addition_module/DSDG/networks/generator.py:34
Methodforward
(self, x)
addition_module/DSDG/networks/generator.py:68
Methodforward
(self, x)
addition_module/DSDG/networks/generator.py:83
Methodforward
(self, z)
addition_module/DSDG/networks/generator.py:113
Methodforward
(self, z)
addition_module/DSDG/networks/generator.py:146
Methodforward
(self, x)
addition_module/DSDG/networks/generator.py:173
Methodforward
(self, out, label)
addition_module/DSDG/DUM/train.py:66
Methodforward
(self, x)
addition_module/DSDG/DUM/models/ResNet_u.py:29
Methodforward
(self, x)
addition_module/DSDG/DUM/models/ResNet_u.py:87
Methodforward
(self, x)
addition_module/DSDG/DUM/models/CDCNs_u.py:21
Methodforward
(self, x)
addition_module/DSDG/DUM/models/CDCNs_u.py:44
Methodforward
(self, x)
addition_module/DSDG/DUM/models/CDCNs_u.py:131
Methodforward
(self, x)
addition_module/DSDG/DUM/models/CDCNs_u.py:239
Methodforward
(self, x)
addition_module/face_mask_adding/FMA-3D/model/prnet.py:24
Methodforward
(self, x)
addition_module/face_mask_adding/FMA-3D/model/prnet.py:46
Methodforward
(self, x)
addition_module/face_mask_adding/FMA-3D/model/prnet.py:76
Methodforward
(self, x)
addition_module/face_mask_adding/FMA-3D/model/prnet.py:132
Methodforward
(self, nir_p, vis_g, vis_p, nir_g, cur_ids)
addition_module/HSST/HSST_Prototype.py:72
Methodforward
(self, input)
face_sdk/models/network_def/retinaface_def.py:62
Methodforward
(self, input)
face_sdk/models/network_def/retinaface_def.py:88
Methodforward
(self, x)
face_sdk/models/network_def/retinaface_def.py:133
Methodforward
(self,x)
face_sdk/models/network_def/retinaface_def.py:149
Methodforward
(self,x)
face_sdk/models/network_def/retinaface_def.py:160
Methodforward
(self,x)
face_sdk/models/network_def/retinaface_def.py:171
Methodforward
(self,inputs)
face_sdk/models/network_def/retinaface_def.py:222
Methodforward
(self, input)
face_sdk/models/network_def/mobilefacenet_def.py:13
Methodforward
(self, x)
face_sdk/models/network_def/mobilefacenet_def.py:27
Methodforward
(self, x)
face_sdk/models/network_def/mobilefacenet_def.py:38
Methodforward
(self, x)
face_sdk/models/network_def/mobilefacenet_def.py:50
Methodforward
(self, x)
face_sdk/models/network_def/mobilefacenet_def.py:69
Methodforward
(self, x)
face_sdk/models/network_def/mobilefacenet_def.py:91
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:30
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:39
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:54
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:66
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:106
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:142
Methodforward
(self, x)
face_sdk/models/network_def/mobilev3_pfld.py:185
Methodfrom_pretrained
create an efficientnet model according to name. Args: model_name (str): Name for efficientnet. weights_path (None or
backbone/EfficientNets.py:968
Functionget_RepVGG_func_by_name
(name)
backbone/RepVGG.py:283
Functionget_cls_net
(config, **kwargs)
backbone/HRNet.py:523
Methodget_custom_L2
(self)
backbone/RepVGG.py:80
Functionget_dataset
(val_img_dir, val_landmarks_dir, batch_size, num_landmarks=68, rotation=0, scale=0,
addition_module/DMUE/preprocess/face_alignmenet/dataloader.py:343
Functionget_dataset
(val_img_dir, val_landmarks_dir, batch_size, num_landmarks=68, rotation=0, scale=0,
addition_module/DMUE/preprocess/face_alignmenet/core/dataloader.py:342
Methodget_epoch_values
(self, epoch: int)
training_mode/swin_training/lr_scheduler.py:92
Functionget_face_align_matrix
( face_pts: torch.Tensor, target_shape: Tuple[int, int], target_face_scale: float = 1.0, offse
face_sdk/utils/transform.py:53
Methodget_idx
(self)
addition_module/DSDG/data/recognition_dataset.py:128
Methodget_image_size
Get the input image size for a given efficientnet model. Args: model_name (str): Name for efficientnet. Returns:
backbone/EfficientNets.py:1002
Methodget_pairs
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:36
Methodget_pairs
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:58
Methodget_rankN_accuracy
(self, cur_rank)
test_protocol/megaface/megaface_evaluator.py:201
Methodget_rankN_accuracy
(self, cur_rank)
test_protocol/megaface/megaface_evaluator.py:306
Methodget_rankN_accuracy
(self, cur_rank)
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:201
Methodget_rankN_accuracy
(self, cur_rank)
addition_module/face_lightning/KDF/test_protocol/megaface/megaface_evaluator.py:306
Functionget_same_padding_maxPool2d
Chooses static padding if you have specified an image size, and dynamic padding otherwise. Static padding is necessary for ONNX exporting of mo
backbone/EfficientNets.py:277
Functionget_threshold
(score_file)
addition_module/DSDG/DUM/utils.py:44
Functionget_triangle_buffer
Args: vertices: 3 x nver triangles: 3 x ntri h: height w: width Returns: depth_buffer: height x width
addition_module/face_mask_adding/FMA-3D/utils/render.py:239
Methodget_triplets
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:99
Methodget_triplets
(self, embeddings, labels)
training_mode/siamese-triplet_training/pair_selector.py:147
Methodget_update_values
(self, num_updates: int)
training_mode/swin_training/lr_scheduler.py:98
Functionhard_sigmoid
(x, inplace: bool = False)
backbone/GhostNet.py:47
Functionhardest_negative
(loss_values)
training_mode/siamese-triplet_training/pair_selector.py:118
Methodinference_on_image
Get the inference of the image and process the inference result. Returns: A numpy array, the shape is N * (x, y, w, h, confidence
face_sdk/core/model_handler/face_detection/FaceDetModelHandler.py:36
Methodinference_on_image
Get the inference of the image and process the inference result. Returns:
face_sdk/core/model_handler/face_parsing/FaceParsingModelHandler.py:58
Methodinference_on_image
Get the inference of the image and process the inference result. Returns: A numpy array, the landmarks prediction based on the sh
face_sdk/core/model_handler/face_alignment/FaceAlignModelHandler.py:34
Methodinference_on_image
Get the inference of the image. Returns: A numpy array, the output feature, shape (512,),
face_sdk/core/model_handler/face_recognition/FaceRecModelHandler.py:34
Functioninverted_tanh_warp_transform
Inverted tanh-warp function. Args: coords (torch.Tensor): b x n x 2 (x, y). The transformed coordinates. matrix: b x 3 x 3. A mat
face_sdk/utils/transform.py:120
Functionlms106_2_lms25
(lms_106)
face_sdk/utils/lms_trans.py:23
Functionload
(model, model_path)
addition_module/DSDG/DUM/utils.py:409
Methodload_model
(self)
face_sdk/core/model_loader/face_detection/FaceDetModelLoader.py:26
Methodload_model
(self)
face_sdk/core/model_loader/face_parsing/FaceParsingModelLoader.py:25
Methodload_model
(self)
face_sdk/core/model_loader/face_alignment/FaceAlignModelLoader.py:21
Methodload_model
(self)
face_sdk/core/model_loader/face_recognition/FaceRecModelLoader.py:22
Methodload_model_default
The default method to load a model. Args: model_path(str): the path of the weight file. Returns:
test_protocol/utils/model_loader.py:18
Methodload_model_default
The default method to load a model. Args: model_path(str): the path of the weight file. Returns:
addition_module/face_lightning/KDF/test_protocol/utils/model_loader.py:18
Methodload_param
(self, cfg)
addition_module/DMUE/models/make_target_model.py:47
Methodload_param
(self, model_path)
addition_module/DMUE/pretrain/backbones/resnet_ibn_a.py:156
Methodload_param
(self, model_path)
addition_module/DMUE/pretrain/backbones/resnet.py:144
Functionmake_inverted_tanh_warp_grid
Args: matrix: bx4x4 matrix. warp_factor: The warping factor. `warp_factor=1.0` represents a vannila Tanh-warping, `wa
face_sdk/utils/transform.py:244
Functionmake_tanh_warp_grid
Args: matrix: bx4x4 matrix. warp_factor: The warping factor. `warp_factor=1.0` represents a vannila Tanh-warping, `wa
face_sdk/utils/transform.py:221
Functionmap_texture
Args: triangles: 3 x ntri # src src_image: height x width x nchannels src_vertices: 3 x nver #
addition_module/face_mask_adding/FMA-3D/utils/render.py:123
← previousnext →901–1,000 of 1,054, ranked by callers