Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YapengTian/AVVP-ECCV20
/ functions
Functions
62 in github.com/YapengTian/AVVP-ECCV20
⨍
Functions
62
◇
Types & classes
19
↓ 6 callers
Function
extract_event
(seq, n)
utils/eval_metrics.py:215
↓ 3 callers
Method
__init__
(self, encoder_layer, num_layers, norm=None)
nets/net_audiovisual.py:14
↓ 3 callers
Function
eval
(model, val_loader, set)
main_avvp.py:39
↓ 3 callers
Function
event_wise_metric
(event_p, event_gt)
utils/eval_metrics.py:243
↓ 3 callers
Function
to_vec
(start, end)
utils/eval_metrics.py:209
↓ 2 callers
Function
crop
(vid, i, j, h, w)
scripts/transforms.py:5
↓ 1 callers
Function
_get_clones
(module, N)
nets/net_audiovisual.py:9
↓ 1 callers
Function
center_crop
(vid, output_size)
scripts/transforms.py:9
↓ 1 callers
Function
download
(set, name, t_seg)
scripts/download_dataset.py:4
↓ 1 callers
Function
event_level
(SO_a, SO_v, SO_av, GT_a, GT_v, GT_av)
utils/eval_metrics.py:33
↓ 1 callers
Function
extract_feats
(params, model, load_img)
scripts/extract_3D_feat.py:21
↓ 1 callers
Function
extract_feats
(params, model, load_image_fn)
scripts/extract_rgb_feat.py:17
↓ 1 callers
Function
extract_frames
(video, dst)
scripts/extract_frames.py:7
↓ 1 callers
Method
get_params
Get parameters for ``crop`` for a random crop.
scripts/transforms.py:60
↓ 1 callers
Function
hflip
(vid)
scripts/transforms.py:18
↓ 1 callers
Function
ids_to_multinomial
label encoding Returns: 1d array, multimonial representation, e.g. [1,0,1,0,0,...]
dataloader.py:10
↓ 1 callers
Function
main
()
main_avvp.py:153
↓ 1 callers
Function
normalize
(vid, mean, std)
scripts/transforms.py:46
↓ 1 callers
Function
pad
(vid, padding, fill=0, padding_mode="constant")
scripts/transforms.py:36
↓ 1 callers
Function
resize
(vid, size, interpolation='bilinear')
scripts/transforms.py:25
↓ 1 callers
Function
segment_level
(SO_a, SO_v, SO_av, GT_a, GT_v, GT_av)
utils/eval_metrics.py:146
↓ 1 callers
Function
to_normalized_float_tensor
(vid)
scripts/transforms.py:42
↓ 1 callers
Function
train
(args, model, train_loader, optimizer, criterion, epoch)
main_avvp.py:11
Function
F1
(X_pre, X_gt)
utils/eval_metrics.py:24
Function
Precision
(X_pre, X_gt)
utils/eval_metrics.py:3
Function
Recall
(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
Method
forward
(self, src_a, src_v, mask=None, src_key_padding_mask=None)
nets/net_audiovisual.py:22
Method
forward
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
Method
forward
(self, audio, visual, visual_st)
nets/net_audiovisual.py:104
Method
forward
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
Method
forward
(self, x)
scripts/utils.py:83