MCPcopy Create free account

hub / github.com/cavalleria/cavaface / functions

Functions528 in github.com/cavalleria/cavaface

↓ 36 callersMethodsplit
(self, indices)
evaluation/utils/io.py:308
↓ 24 callersFunctionget_block
(in_channel, depth, num_units, stride=2)
backbone/resnet_irse.py:24
↓ 20 callersMethod__init__
(self, channels, first_fraction=0.5, inst_first=True)
backbone/common.py:199
↓ 17 callersFunction_load_bin
(path, fill = 0.0)
evaluation/utils/io.py:108
↓ 12 callersMethod__init__
(self, in_features, out_features, m=0.50)
head/metrics.py:193
↓ 8 callersMethod_make_layer
( self, block, planes, blocks, stride=1, dilation=1, n
backbone/resnest.py:362
↓ 7 callersFunctionconv1x1_block
1x1 version of the standard convolution block.
backbone/common.py:702
↓ 7 callersFunctionreadable_size
(num_bytes)
evaluation/utils/pytorch_memlab/utils.py:4
↓ 6 callersMethod__init__
(self, embedding_size)
backbone/mobilefacenet.py:187
↓ 5 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
backbone/ghostnet.py:19
↓ 5 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
backbone/mobilenetv3.py:16
↓ 5 callersFunctionl2_norm
(input, axis=1)
head/metrics.py:303
↓ 5 callersFunctionround_channels
Round weighted channel number (make divisible operation). Parameters: ---------- channels : int or float Original number of
backbone/common.py:27
↓ 5 callersMethodupdate
(self, val, n=1)
util/verification.py:235
↓ 4 callersMethod__init__
(self, input_size, embedding_size=512, width=1.3)
backbone/ghostnet.py:238
↓ 4 callersMethod__init__
(self, inplace=True)
backbone/mobilenetv3.py:46
↓ 4 callersMethod__init__
(self, input_size, num_layers, mode="ir")
backbone/resattnet.py:223
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
backbone/resnet.py:144
↓ 4 callersFunction_write_bin
(path, feature, feat_dim=None)
evaluation/utils/io.py:99
↓ 4 callersMethodclear
(self)
evaluation/eval_ijbc.py:293
↓ 3 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None)
backbone/hrnet.py:344
↓ 3 callersMethod__init__
(self, in_channels, channels, se_ratio=12)
backbone/rexnetv1.py:59
↓ 3 callersMethod__init__
( self, channels, init_block_channels, final_block_channels, kernel_si
backbone/efficientnet.py:280
↓ 3 callersMethod__init__
(self, root_dir, record_dir, transform, Train=True)
dataset/datasets.py:90
↓ 3 callersMethod__init__
(self, gamma=2, eps=1e-7)
loss/loss.py:7
↓ 3 callersMethod__init__
( self, params, lr=required, momentum=0, dampening=0, weight_d
optimizer/optimizer.py:537
↓ 3 callersFunction_add_conv_swish
(out, in_channels, channels, kernel=1, stride=1, pad=0, num_group=1)
backbone/rexnetv1.py:47
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
backbone/mobilenetv2.py:15
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
backbone/mobilenext.py:15
↓ 3 callersMethod_make_stage
(self, layer_config, num_inchannels, multi_scale_output=True)
backbone/hrnet.py:781
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
backbone/hrnet.py:714
↓ 3 callersMethodadd_function
Record line profiling information for the given Python function.
evaluation/utils/pytorch_memlab/line_profiler.py:57
↓ 3 callersFunctioncalc_tf_padding
Calculate TF-same like padding size. Parameters: ---------- x : tensor Input tensor. kernel_size : int Convoluti
backbone/efficientnet.py:29
↓ 3 callersFunctioncalculate_accuracy
(threshold, dist, actual_issame)
evaluation/utils/io.py:365
↓ 3 callersFunctioncalculate_accuracy
(threshold, dist, actual_issame)
util/verification.py:106
↓ 3 callersFunctionconv1x1
1x1 convolution
backbone/resnet.py:26
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
backbone/resnet.py:18
↓ 3 callersMethodinfer_embedding
( self, imgs=None, read_func=None, write_func=None, is_flip=False )
evaluation/infer/citrus_base_infer.py:281
↓ 2 callersFunctionROC
Compute Receiver operating characteristic (ROC) with a score and label vector.
util/metrics.py:62
↓ 2 callersMethod__init__
( self, input_size, block, layers, radix=1, groups=1,
backbone/resnest.py:194
↓ 2 callersMethod__init__
(self, channels, init_block_channels, embedding_size=512)
backbone/densenet.py:88
↓ 2 callersMethod__init__
( self, in_planes, out_planes, kernel_size=3, stride=1, groups=1, norm_layer=None )
backbone/mobilenetv2.py:36
↓ 2 callersMethod__init__
( self, inp, oup, stride, expand_ratio, identity_tensor_multip
backbone/mobilenext.py:58
↓ 2 callersMethod__init__
(self, input_size, block, layers, zero_init_residual=True)
backbone/resnet.py:103
↓ 2 callersMethod__init__
( self, channels, init_block_channels, final_block_channels, residuals
backbone/proxylessnas.py:170
↓ 2 callersMethod__init__
(self, in_q, out_q, read_func, is_flip, shape)
evaluation/infer/citrus_base_infer.py:90
↓ 2 callersFunction_add_conv
( out, in_channels, channels, kernel=1, stride=1, pad=0, num_group=1, active=T
backbone/rexnetv1.py:25
↓ 2 callersMethod_extract_embedding_base
( self, file_list, net, emb_outdir, img_root, is_prob=True )
evaluation/eval_megaface.py:122
↓ 2 callersFunction_forward
Naive forward of arcface. Note: Refer to https://github.com/ronghuaiyang/arcface-pytorch/blob/master/models/metrics.py#L35.
head/metrics_parallel.py:121
↓ 2 callersMethod_get_tensor_name
(self, tensor)
evaluation/utils/pytorch_memlab/mem_reporter.py:39
↓ 2 callersMethod_make_layer
(self, block, inplanes, planes, blocks, stride=1)
backbone/hrnet.py:760
↓ 2 callersFunctionaccuracy
(score_vec, label_vec, thresholds=None)
util/metrics.py:224
↓ 2 callersFunctioncalculate_val_far
(threshold, dist, actual_issame)
evaluation/utils/io.py:413
↓ 2 callersFunctioncalculate_val_far
(threshold, dist, actual_issame)
util/verification.py:171
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
backbone/hrnet.py:334
↓ 2 callersFunctionconv3x3_block
3x3 version of the standard convolution block.
backbone/common.py:730
↓ 2 callersFunctiondwconv_block
Depthwise version of the standard convolution block.
backbone/common.py:760
↓ 2 callersMethodenable
(self)
evaluation/utils/pytorch_memlab/line_profiler.py:91
↓ 2 callersFunctionestimate_batch_size
(gpuid, unitmem)
evaluation/utils/pytorch_tool.py:25
↓ 2 callersFunctionfind_thresholds_by_FAR
(score_vec, label_vec, FARs=None, epsilon=1e-8)
util/metrics.py:31
↓ 2 callersFunctionpre_conv1x1_block
1x1 version of the pre-activated convolution block.
backbone/common.py:955
↓ 2 callersMethodprint_func_stats
Print the stat of a registered function
evaluation/utils/pytorch_memlab/line_profiler.py:130
↓ 2 callersMethodprint_stats
Print the stat of each functions
evaluation/utils/pytorch_memlab/line_profiler.py:120
↓ 2 callersMethodregister_callback
Register the trace_callback only on demand
evaluation/utils/pytorch_memlab/line_profiler.py:86
↓ 2 callersFunctionshow_func
Show results for a single function.
evaluation/utils/pytorch_memlab/line_profiler.py:216
↓ 2 callersFunctionstart_eval_thread
()
evaluation/evaluate_service.py:126
↓ 2 callersFunctionstart_merge_thread
()
evaluation/evaluate_service.py:221
↓ 2 callersMethodstate_dict
(self)
optimizer/optimizer.py:54
↓ 2 callersMethodstep
(self, closure=None)
optimizer/optimizer.py:593
↓ 2 callersMethodstep
Update status of lr. Args: iteration(int, optional): now training iteration of all epochs. Normally need not to s
optimizer/lr_scheduler.py:111
↓ 1 callersFunctionCutoutAbs
(img, v)
dataset/randaugment.py:127
↓ 1 callersMethod__init__
(self)
evaluation/evaluate_service.py:90
↓ 1 callersMethod__setstate__
(self, state)
optimizer/optimizer.py:153
↓ 1 callersMethod_cal_and_save_badcase
(self)
evaluation/eval_megaface.py:330
↓ 1 callersFunction_cal_similarity_gpu
(probe, gallery)
evaluation/utils/io.py:139
↓ 1 callersMethod_check_branches
( self, num_branches, blocks, num_blocks, num_inchannels, num_channels )
backbone/hrnet.py:443
↓ 1 callersFunction_col_parallel_forward
Parallel forward in column dimension.
head/metrics_parallel.py:103
↓ 1 callersMethod_compute_block_mask
(self, mask)
backbone/common.py:515
↓ 1 callersMethod_compute_gamma
(self, x)
backbone/common.py:528
↓ 1 callersMethod_cosine_similarity
(self, x, y, eps, view_func)
optimizer/optimizer.py:446
↓ 1 callersMethod_cosine_similarity
(self, x, y, eps, view_func)
optimizer/optimizer.py:567
↓ 1 callersMethod_extract_embedding_base
(self, file_list, net, emb_outdir, img_root)
evaluation/eval_ijbc.py:170
↓ 1 callersMethod_find_classes
(self, dir)
dataset/datasets.py:27
↓ 1 callersFunction_find_nearest_fpr
(fpr_list)
evaluation/utils/io.py:25
↓ 1 callersMethod_get_output_dir
(self)
evaluation/eval_ijbc.py:59
↓ 1 callersMethod_get_output_dir
(self)
evaluation/eval_megaface.py:57
↓ 1 callersMethod_infer_and_write
(self, imgs_list, net)
evaluation/eval_ijbc.py:160
↓ 1 callersMethod_infer_and_write
(self, imgs_list, net)
evaluation/eval_megaface.py:112
↓ 1 callersMethod_init_params
(self)
backbone/densenet.py:128
↓ 1 callersMethod_init_params
(self)
backbone/efficientnet.py:371
↓ 1 callersMethod_init_params
(self)
backbone/proxylessnas.py:245
↓ 1 callersMethod_initialize_weights
(self)
backbone/ghostnet.py:288
↓ 1 callersMethod_initialize_weights
(self)
backbone/resnet_irse.py:153
↓ 1 callersMethod_initialize_weights
(self)
backbone/mobilenetv3.py:216
↓ 1 callersMethod_initialize_weights
(self)
backbone/resattnet.py:281
↓ 1 callersMethod_initialize_weights
(self)
backbone/resattnet.py:361
↓ 1 callersMethod_initialize_weights
(self)
backbone/rexnetv1.py:193
↓ 1 callersMethod_initialize_weights
(self)
backbone/mobilefacenet.py:269
↓ 1 callersMethod_initialize_weights
(self)
head/metrics.py:33
↓ 1 callersMethod_load_faces_lists
(self)
evaluation/eval_ijbc.py:69
next →1–100 of 528, ranked by callers