MCPcopy Create free account

hub / github.com/YapengTian/AVVP-ECCV20 / functions

Functions62 in github.com/YapengTian/AVVP-ECCV20

↓ 6 callersFunctionextract_event
(seq, n)
utils/eval_metrics.py:215
↓ 3 callersMethod__init__
(self, encoder_layer, num_layers, norm=None)
nets/net_audiovisual.py:14
↓ 3 callersFunctioneval
(model, val_loader, set)
main_avvp.py:39
↓ 3 callersFunctionevent_wise_metric
(event_p, event_gt)
utils/eval_metrics.py:243
↓ 3 callersFunctionto_vec
(start, end)
utils/eval_metrics.py:209
↓ 2 callersFunctioncrop
(vid, i, j, h, w)
scripts/transforms.py:5
↓ 1 callersFunction_get_clones
(module, N)
nets/net_audiovisual.py:9
↓ 1 callersFunctioncenter_crop
(vid, output_size)
scripts/transforms.py:9
↓ 1 callersFunctiondownload
(set, name, t_seg)
scripts/download_dataset.py:4
↓ 1 callersFunctionevent_level
(SO_a, SO_v, SO_av, GT_a, GT_v, GT_av)
utils/eval_metrics.py:33
↓ 1 callersFunctionextract_feats
(params, model, load_img)
scripts/extract_3D_feat.py:21
↓ 1 callersFunctionextract_feats
(params, model, load_image_fn)
scripts/extract_rgb_feat.py:17
↓ 1 callersFunctionextract_frames
(video, dst)
scripts/extract_frames.py:7
↓ 1 callersMethodget_params
Get parameters for ``crop`` for a random crop.
scripts/transforms.py:60
↓ 1 callersFunctionhflip
(vid)
scripts/transforms.py:18
↓ 1 callersFunctionids_to_multinomial
label encoding Returns: 1d array, multimonial representation, e.g. [1,0,1,0,0,...]
dataloader.py:10
↓ 1 callersFunctionmain
()
main_avvp.py:153
↓ 1 callersFunctionnormalize
(vid, mean, std)
scripts/transforms.py:46
↓ 1 callersFunctionpad
(vid, padding, fill=0, padding_mode="constant")
scripts/transforms.py:36
↓ 1 callersFunctionresize
(vid, size, interpolation='bilinear')
scripts/transforms.py:25
↓ 1 callersFunctionsegment_level
(SO_a, SO_v, SO_av, GT_a, GT_v, GT_av)
utils/eval_metrics.py:146
↓ 1 callersFunctionto_normalized_float_tensor
(vid)
scripts/transforms.py:42
↓ 1 callersFunctiontrain
(args, model, train_loader, optimizer, criterion, epoch)
main_avvp.py:11
FunctionF1
(X_pre, X_gt)
utils/eval_metrics.py:24
FunctionPrecision
(X_pre, X_gt)
utils/eval_metrics.py:3
FunctionRecall
(X_pre, X_gt)
utils/eval_metrics.py:14
Method__call__
(self, sample)
dataloader.py:62
Method__call__
(self, vid)
scripts/transforms.py:71
Method__call__
(self, vid)
scripts/transforms.py:80
Method__call__
(self, vid)
scripts/transforms.py:88
Method__call__
(self, vid)
scripts/transforms.py:93
Method__call__
(self, vid)
scripts/transforms.py:102
Method__call__
(self, vid)
scripts/transforms.py:110
Method__call__
(self, vid)
scripts/transforms.py:121
Method__call__
(self, tensor)
scripts/utils.py:15
Method__call__
(self, tensor)
scripts/utils.py:29
Method__call__
(self, img)
scripts/utils.py:49
Method__call__
(self, path_img)
scripts/utils.py:59
Method__call__
(self, path_img)
scripts/utils.py:72
Method__getitem__
(self, idx)
dataloader.py:45
Method__init__
(self, label, audio_dir, video_dir, st_dir, transform=None)
dataloader.py:34
Method__init__
(self, d_model, nhead, dim_feedforward=512, dropout=0.1)
nets/net_audiovisual.py:40
Method__init__
(self)
nets/net_audiovisual.py:87
Method__init__
(self, d_model, nhead, dim_feedforward=512, dropout=0.1)
nets/net_audiovisual.py:135
Method__init__
(self, size)
scripts/transforms.py:56
Method__init__
(self, size)
scripts/transforms.py:77
Method__init__
(self, size)
scripts/transforms.py:85
Method__init__
(self, mean, std)
scripts/transforms.py:98
Method__init__
(self, p=0.5)
scripts/transforms.py:107
Method__init__
(self, padding, fill=0)
scripts/transforms.py:117
Method__init__
(self, is_bgr)
scripts/utils.py:12
Method__init__
(self, is_255)
scripts/utils.py:26
Method__init__
(self)
scripts/utils.py:37
Method__init__
(self, space='RGB')
scripts/utils.py:56
Method__init__
(self)
scripts/utils.py:68
Method__init__
(self)
scripts/utils.py:80
Method__len__
(self)
dataloader.py:42
Methodforward
(self, src_a, src_v, mask=None, src_key_padding_mask=None)
nets/net_audiovisual.py:22
Methodforward
Pass the input through the encoder layer. Args: src: the sequnce to the encoder layer (required). src_mask: the mask
nets/net_audiovisual.py:58
Methodforward
(self, audio, visual, visual_st)
nets/net_audiovisual.py:104
Methodforward
r"""Pass the input through the encoder layer. Args: src: the sequnce to the encoder layer (required). src_mask: the m
nets/net_audiovisual.py:150
Methodforward
(self, x)
scripts/utils.py:83