MCPcopy Create free account

hub / github.com/SoftwareGift/FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019 / functions

Functions153 in github.com/SoftwareGift/FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019

↓ 11 callersFunctionsplitscore
(file_dir)
gen_final_submission.py:1
↓ 9 callersMethodupdate
(self, val, n=1)
main.py:374
↓ 5 callersFunctionround_value
(value, binary=False)
tools/benchmark/reporter.py:8
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
models/MobileLiteNet.py:93
↓ 3 callersMethod_conv_bn_relu
(self, in_ch, out_ch, stride=1)
models/fishnet.py:201
↓ 3 callersMethod_make_residual_block
(self, inplanes, outplanes, nstage, is_up=False, k=1, dilation=1)
models/fishnet.py:61
↓ 3 callersFunctionnum_params
(module)
tools/benchmark/compute_memory.py:27
↓ 2 callersMethod__init__
(self, channel, reduction=8)
models/FeatherNet.py:24
↓ 2 callersMethod__init__
(self, channel, reduction=8)
models/MobileLiteNet.py:9
↓ 2 callersMethod_make_score
(self, in_ch, out_ch=1000, has_pool=False)
models/fishnet.py:35
↓ 2 callersFunctionaccuracy
Computes the precision@k for the specified values of k
main.py:388
↓ 2 callersFunctioncompute_flops
(module, inp, out)
tools/benchmark/compute_flops.py:6
↓ 2 callersFunctioncompute_madd
(module, inp, out)
tools/benchmark/compute_madd.py:141
↓ 2 callersFunctioncompute_memory
(module, inp, out)
tools/benchmark/compute_memory.py:6
↓ 2 callersFunctionfecth_ensembled_score
(scores, threshold)
gen_final_submission.py:44
↓ 2 callersMethodfind_child_index
(self, child_name)
tools/benchmark/stat_tree.py:190
↓ 2 callersFunctionfish
(**kwargs)
models/fishnet.py:228
↓ 2 callersFunctionvalidate
(val_loader, model, criterion,epoch)
main.py:276
↓ 1 callersFunctionAverage
(lst)
gen_final_submission.py:42
↓ 1 callersMethod__init__
(self, device,class_num, alpha=None, gamma=2, size_average=True)
losses.py:24
↓ 1 callersMethod__init__
(self, block, num_cls=2, num_down_sample=5, num_up_sample=3, trans_map=(2, 1, 0, 6, 5, 4), ne
models/fishnet.py:17
↓ 1 callersMethod__init__
(self, n_class=2, input_size=224, width_mult=1.)
models/mobilenetv2.py:64
↓ 1 callersMethod_analyze_model
(self)
tools/benchmark/statistics.py:59
↓ 1 callersMethod_fish_forward
(self, all_feat)
models/fishnet.py:143
↓ 1 callersMethod_hook_model
(self)
tools/benchmark/model_hook.py:116
↓ 1 callersMethod_init_weights
(self)
models/fishnet.py:206
↓ 1 callersMethod_initialize_weights
(self)
models/FeatherNet.py:141
↓ 1 callersMethod_initialize_weights
(self)
models/MobileLiteNet.py:138
↓ 1 callersMethod_initialize_weights
(self)
models/mobilenetv2.py:113
↓ 1 callersMethod_make_fish
(self, in_planes)
models/fishnet.py:96
↓ 1 callersMethod_make_se_block
(self, in_ch, out_ch)
models/fishnet.py:49
↓ 1 callersMethod_make_stage
(self, is_down_sample, inplanes, outplanes, n_blk, has_trans=True, has_score=False, trans_
models/fishnet.py:72
↓ 1 callersMethod_pre_act_forward
(self, x)
models/fish_block.py:43
↓ 1 callersMethod_retrieve_leaf_modules
(model)
tools/benchmark/model_hook.py:121
↓ 1 callersMethod_sub_module_call_hook
(self)
tools/benchmark/model_hook.py:43
↓ 1 callersMethodadd_child
(self, node)
tools/benchmark/stat_tree.py:199
↓ 1 callersFunctionadjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
main.py:381
↓ 1 callersFunctioncalc_flops
(model, input_size)
utils/profile.py:9
↓ 1 callersFunctioncompute_AvgPool2d_madd
(module, inp, out)
tools/benchmark/compute_madd.py:77
↓ 1 callersFunctioncompute_BatchNorm2d_flops
(module, inp, out)
tools/benchmark/compute_flops.py:54
↓ 1 callersFunctioncompute_BatchNorm2d_madd
(module, inp, out)
tools/benchmark/compute_madd.py:51
↓ 1 callersFunctioncompute_BatchNorm2d_memory
(module, inp, out)
tools/benchmark/compute_memory.py:64
↓ 1 callersFunctioncompute_Bilinear_madd
(module, inp1, inp2, out)
tools/benchmark/compute_madd.py:127
↓ 1 callersFunctioncompute_Conv2d_flops
(module, inp, out)
tools/benchmark/compute_flops.py:29
↓ 1 callersFunctioncompute_Conv2d_madd
(module, inp, out)
tools/benchmark/compute_madd.py:8
↓ 1 callersFunctioncompute_Conv2d_memory
(module, inp, out)
tools/benchmark/compute_memory.py:49
↓ 1 callersFunctioncompute_ConvTranspose2d_madd
(module, inp, out)
tools/benchmark/compute_madd.py:30
↓ 1 callersFunctioncompute_Linear_flops
(module, inp, out)
tools/benchmark/compute_flops.py:84
↓ 1 callersFunctioncompute_Linear_madd
(module, inp, out)
tools/benchmark/compute_madd.py:115
↓ 1 callersFunctioncompute_Linear_memory
(module, inp, out)
tools/benchmark/compute_memory.py:74
↓ 1 callersFunctioncompute_MaxPool2d_madd
(module, inp, out)
tools/benchmark/compute_madd.py:64
↓ 1 callersFunctioncompute_PReLU_memory
(module, inp, out)
tools/benchmark/compute_memory.py:40
↓ 1 callersFunctioncompute_Pool2d_flops
(module, inp, out)
tools/benchmark/compute_flops.py:77
↓ 1 callersFunctioncompute_Pool2d_memory
(module, inp, out)
tools/benchmark/compute_memory.py:84
↓ 1 callersFunctioncompute_ReLU_flops
(module, inp, out)
tools/benchmark/compute_flops.py:64
↓ 1 callersFunctioncompute_ReLU_madd
(module, inp, out)
tools/benchmark/compute_madd.py:93
↓ 1 callersFunctioncompute_ReLU_memory
(module, inp, out)
tools/benchmark/compute_memory.py:31
↓ 1 callersFunctioncompute_Softmax_madd
(module, inp, out)
tools/benchmark/compute_madd.py:102
↓ 1 callersFunctioncompute_Upsample_flops
(module, inp, out)
tools/benchmark/compute_flops.py:91
↓ 1 callersFunctioncompute_speed
(model, input_size, device, iteration)
tools/benchmark/compute_speed.py:13
↓ 1 callersFunctionconv_1x1_bn
(inp, oup)
models/mobilenetv2.py:14
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/FeatherNet.py:7
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/mobilenetv2.py:6
↓ 1 callersFunctionconvert_leaf_modules_to_stat_tree
(leaf_modules)
tools/benchmark/statistics.py:23
↓ 1 callersFunctioncount_params
(model, input_size=224)
utils/profile.py:85
↓ 1 callersFunctionfoo
(net)
utils/profile.py:51
↓ 1 callersFunctionget_best_threshold
()
gen_final_submission.py:71
↓ 1 callersMethodget_collected_stat_nodes
(self, query_granularity)
tools/benchmark/stat_tree.py:25
↓ 1 callersFunctionget_parent_node
(root_node, stat_node_name)
tools/benchmark/statistics.py:10
↓ 1 callersMethodget_same_level_max_node_depth
(self, query_node)
tools/benchmark/stat_tree.py:10
↓ 1 callersFunctionload_weight
(model,path)
models/mobilenetv2.py:127
↓ 1 callersFunctionmain
()
main.py:86
↓ 1 callersFunctionnum_err
(ensembled_score,threshold,real_scores)
gen_final_submission.py:55
↓ 1 callersFunctionreport_format
(collected_nodes)
tools/benchmark/reporter.py:22
↓ 1 callersMethodreset
(self)
main.py:368
↓ 1 callersMethodretrieve_leaf_modules
(self)
tools/benchmark/model_hook.py:128
↓ 1 callersFunctionsave_checkpoint
(state, filename='checkpoint.pth.tar')
main.py:358
↓ 1 callersMethodshow_report
(self)
tools/benchmark/statistics.py:66
↓ 1 callersMethodsqueeze_idt
(self, idt)
models/fish_block.py:67
↓ 1 callersFunctionstat
(model, input_size, query_granularity=1)
tools/benchmark/statistics.py:72
↓ 1 callersFunctiontrain
(train_loader, model, criterion, optimizer, epoch)
main.py:224
↓ 1 callersMethodupdate_stat_nodes_granularity
(self)
tools/benchmark/stat_tree.py:16
MethodConvFlops
(self)
tools/benchmark/stat_tree.py:155
FunctionFeatherNetA
()
models/FeatherNet.py:156
FunctionFeatherNetB
()
models/FeatherNet.py:160
MethodFlops
(self)
tools/benchmark/stat_tree.py:144
MethodMAdd
(self)
tools/benchmark/stat_tree.py:133
MethodMemory
(self)
tools/benchmark/stat_tree.py:166
FunctionMobileLiteNet102
( **kwargs)
models/MobileLiteNet.py:158
FunctionMobileLiteNet105_se
( **kwargs)
models/MobileLiteNet.py:161
FunctionMobileLiteNet153
( **kwargs)
models/MobileLiteNet.py:164
FunctionMobileLiteNet156_se
( **kwargs)
models/MobileLiteNet.py:167
FunctionMobileLiteNet54
( **kwargs)
models/MobileLiteNet.py:152
FunctionMobileLiteNet54_se
( **kwargs)
models/MobileLiteNet.py:155
Method__call__
(self, tensor)
utils/data_aug.py:13
Method__getitem__
(self, idx)
read_data.py:75
Method__init__
(self, transform=None, phase_train=True, data_dir=None,phase_test=False)
read_data.py:41
Method__init__
(self)
losses.py:91
Method__init__
(self)
main.py:365
Method__init__
(self, model, input_size, query_granularity=1)
tools/benchmark/statistics.py:52
next →1–100 of 153, ranked by callers