MCPcopy Create free account

hub / github.com/WentianZhang-ML/FRT-PAD / functions

Functions48 in github.com/WentianZhang-ML/FRT-PAD

↓ 7 callersMethodupdate
(self, val, n=1)
utils/utils.py:20
↓ 5 callersMethod__init__
(self, adj, batch_size, nfeat=512, nhid=512, nclass=512, dropout=0.6, alpha=0.2, nheads=2)
models/networks.py:195
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
models/networks.py:94
↓ 4 callersFunctionload_data
(root_path, flag, dataset_name)
utils/utils.py:53
↓ 4 callersFunctionsample_frames
(all_label_json, num_frames)
utils/utils.py:62
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1)
models/layers.py:9
↓ 2 callersFunctioneval_state
(probs, labels, thr)
utils/evaluate.py:58
↓ 1 callersFunctionACE_TDR_Cal
(label_list, prob_list, rate=0.01)
utils/evaluate.py:26
↓ 1 callersFunctionCross_Modal_Adapter
Two Graph Attention Networks
models/pad_model.py:61
↓ 1 callersFunctionFace_Related_Work
Pre-trained Face_Related_Work model
models/pad_model.py:22
↓ 1 callersFunctionPA_Detector
()
models/pad_model.py:11
↓ 1 callersMethod_prepare_attentional_mechanism_input
(self, Wh)
models/layers.py:86
↓ 1 callersFunctionaccuracy
Computes the accuracy over the k top predictions for the specified values of k
utils/evaluate.py:11
↓ 1 callersFunctioncasia_process
(data_dir, label_save_dir)
data_find.py:96
↓ 1 callersFunctioneval
(test_loader, net)
utils/evaluate.py:108
↓ 1 callersFunctionget_EER_states
(probs, labels, grid_density = 10000)
utils/evaluate.py:65
↓ 1 callersFunctionget_HTER_at_thr
(probs, labels, thr)
utils/evaluate.py:95
↓ 1 callersFunctionget_dataset
(root_path, train_data, train_num_frames, test_data, test_num_frames, batchsize)
utils/utils.py:106
↓ 1 callersFunctionget_threshold
(probs, grid_density)
utils/evaluate.py:51
↓ 1 callersFunctionidiap_process
(data_dir, label_save_dir)
data_find.py:178
↓ 1 callersFunctionload_net_datasets
()
train_main.py:42
↓ 1 callersFunctionmsu_process
(data_dir, label_save_dir)
data_find.py:15
↓ 1 callersFunctionnormalize_adj
Row-normalize sparse matrix
models/pad_model.py:53
↓ 1 callersFunctionoulu_process
(data_dir, label_save_dir)
data_find.py:263
↓ 1 callersMethodreset
(self)
utils/utils.py:14
↓ 1 callersFunctionset_log
(path,train_data,test_data)
utils/utils.py:128
↓ 1 callersFunctiontrain
()
train_main.py:51
Method__getitem__
(self, item)
utils/utils.py:45
Method__init__
(self)
utils/utils.py:11
Method__init__
(self, data, transforms=None, train=True)
utils/utils.py:26
Method__init__
(self, dim_in, dim_out)
models/layers.py:40
Method__init__
(self, in_features, out_features, dropout, alpha, concat=True)
models/layers.py:56
Method__init__
(self)
models/networks.py:12
Method__init__
(self, block=IBasicBlock, layers=[2,2,2,2], dropout=0, num_features=512, zero_init_residual=
models/networks.py:40
Method__init__
(self)
models/networks.py:136
Method__init__
(self, image_size=128, conv_dim=64, c_dim=5, repeat_num=6)
models/networks.py:158
Method__init__
(self, PAE_net, downstream_net, target_net,downstream_name='FR')
models/networks.py:288
Method__len__
(self)
utils/utils.py:42
Method__repr__
(self)
models/layers.py:97
Methodforward
(self, x)
models/layers.py:25
Methodforward
(self, x)
models/layers.py:49
Methodforward
(self, h, adj)
models/layers.py:71
Methodforward
(self, input)
models/networks.py:25
Methodforward
(self, x)
models/networks.py:120
Methodforward
(self, x)
models/networks.py:146
Methodforward
(self, x)
models/networks.py:180
Methodforward
(self, x)
models/networks.py:257
Methodforward
(self, x )
models/networks.py:300