MCPcopy Create free account

hub / github.com/ChenHsing/SVFormer / functions

Functions683 in github.com/ChenHsing/SVFormer

Method__getitem__
Given the video index, return the list of frames, label, and video index if the video can be fetched and decoded successfully, othe
timesformer/datasets/demo.py:115
Method__getitem__
(self, item)
timesformer/models/features.py:69
Method__init__
(self, input_size, mask_ratio)
tools/train_net_emamix.py:32
Method__init__
(self, args)
tools/submit.py:101
Method__init__
Construct tensors to store the predictions and labels. Expect to get num_clips predictions from each video, and calculate the metrics
timesformer/utils/meters.py:28
Method__init__
Args: window_size (int): size of the max length of the deque.
timesformer/utils/meters.py:204
Method__init__
Args: epoch_iters (int): the overall number of iterations of one epoch. cfg (CfgNode): configs.
timesformer/utils/meters.py:253
Method__init__
Args: epoch_iters (int): the overall number of iterations of one epoch. cfg (CfgNode): configs.
timesformer/utils/meters.py:414
Method__init__
Args: max_iter (int): the max number of iteration of the current epoch. cfg (CfgNode): configs.
timesformer/utils/meters.py:583
Method__init__
(self, model, decay=0.9999, device=None)
timesformer/utils/ema.py:105
Method__init__
Constructs box collection. Args: data: a numpy array of shape [N, 4] representing box coordinates Raises: ValueError: if bbox da
timesformer/utils/ava_evaluation/np_box_list.py:39
Method__init__
Initialized PerImageEvaluation by evaluation parameters. Args: num_groundtruth_classes: Number of ground truth object classes matchin
timesformer/utils/ava_evaluation/per_image_evaluation.py:42
Method__init__
Constructs box collection. Args: box_data: a numpy array of shape [N, 4] representing box coordinates mask_data: a numpy array of sha
timesformer/utils/ava_evaluation/np_box_mask_list.py:37
Method__init__
Constructor. Args: categories: A list of dicts, each of which has the following keys - 'id': (required) an integer id uniquely iden
timesformer/utils/ava_evaluation/object_detection_evaluation.py:110
Method__init__
(self, categories, matching_iou_threshold=0.5)
timesformer/utils/ava_evaluation/object_detection_evaluation.py:356
Method__init__
(self, categories, matching_iou_threshold=0.5)
timesformer/utils/ava_evaluation/object_detection_evaluation.py:380
Method__init__
(self, categories, matching_iou_threshold=0.5)
timesformer/utils/ava_evaluation/object_detection_evaluation.py:393
Method__init__
(self, categories, matching_iou_threshold=0.5)
timesformer/utils/ava_evaluation/object_detection_evaluation.py:418
Method__init__
Constructor. Args: categories: A list of dicts, each of which has the following keys - 'id': (required) an integer id uniquely iden
timesformer/utils/ava_evaluation/object_detection_evaluation.py:436
Method__init__
( self, num_groundtruth_classes, matching_iou_threshold=0.5, nms_iou_threshold
timesformer/utils/ava_evaluation/object_detection_evaluation.py:529
Method__init__
Args: cfg (CfgNode): configs. Details can be found in slowfast/config/defaults.py
timesformer/visualization/tensorboard_vis.py:24
Method__init__
Args: model (nn.Module): the model containing layers to obtain weights and activations from. layers (list of strings)
timesformer/visualization/utils.py:162
Method__init__
(self)
timesformer/visualization/utils.py:343
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 label_1
timesformer/datasets/kinetics.py:30
Method__init__
(self, input_size, mask_ratio)
timesformer/datasets/unlabel2.py:21
Method__init__
(self, input_size, mask_ratio)
timesformer/datasets/unlabel2.py:46
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 label_1
timesformer/datasets/unlabel2.py:102
Method__init__
Load Something-Something V2 data (frame paths, labels, etc. ) to a given Dataset object. The dataset could be downloaded from Somethi
timesformer/datasets/ssv2.py:32
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 lab
timesformer/datasets/image.py:68
Method__init__
(self, sampler, batch_size, drop_last, cfg)
timesformer/datasets/multigrid_helper.py:17
Method__init__
(self, input_size, mask_ratio)
timesformer/datasets/unlabel.py:23
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 lab
timesformer/datasets/unlabel.py:79
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 lab
timesformer/datasets/something.py:30
Method__init__
( self, size, scale=(0.08, 1.0), ratio=(3.0 / 4.0, 4.0 / 3.0), in
timesformer/datasets/video_transform.py:705
Method__init__
(self, transforms)
timesformer/datasets/video_transform.py:909
Method__init__
(self, ratio=(3. / 4., 4. / 3.), interpolation='nearest')
timesformer/datasets/video_transform.py:954
Method__init__
(self, size, interpolation='nearest')
timesformer/datasets/video_transform.py:984
Method__init__
(self, size)
timesformer/datasets/video_transform.py:1001
Method__init__
(self, size)
timesformer/datasets/video_transform.py:1045
Method__init__
(self, degrees)
timesformer/datasets/video_transform.py:1094
Method__init__
(self, size)
timesformer/datasets/video_transform.py:1135
Method__init__
(self, brightness=0, contrast=0, saturation=0, hue=0)
timesformer/datasets/video_transform.py:1185
Method__init__
(self, mean, std)
timesformer/datasets/video_transform.py:1267
Method__init__
(self, name, prob=0.5, magnitude=10, hparams=None)
timesformer/datasets/rand_augment.py:342
Method__init__
(self, ops, num_layers=2, choice_weights=None)
timesformer/datasets/rand_augment.py:463
Method__init__
Construct the Kinetics video loader with a given csv file. The format of the csv file is: ``` path_to_video_1 lab
timesformer/datasets/demo.py:30
Method__init__
( self, probability=0.5, min_area=0.02, max_area=1 / 3, min_aspect=0.3
timesformer/datasets/random_erasing.py:46
Method__init__
Args: dim (int): number of dimension for the input. dim_inner (int): number of dimension inside of the Non-local bloc
timesformer/models/nonlocal_helper.py:19
Method__init__
(self, drop_prob=None)
timesformer/models/vit_utils.py:158
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., with_qkv=True)
timesformer/models/vit.py:65
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
timesformer/models/vit.py:98
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
timesformer/models/vit.py:165
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, nu
timesformer/models/vit.py:203
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, nu
timesformer/models/vit.py:343
Method__init__
(self, cfg, **kwargs)
timesformer/models/vit.py:486
Method__init__
(self, cfg, **kwargs)
timesformer/models/vit.py:506
Method__init__
(self, hooks, named_modules, out_map=None, default_hook_type='forward')
timesformer/models/features.py:83
Method__init__
( self, model, out_indices=(0, 1, 2, 3, 4), out_map=None, feature_concat=False, flatte
timesformer/models/features.py:164
Method__init__
( self, model, out_indices=(0, 1, 2, 3, 4), out_map=None, feature_concat=False, flatte
timesformer/models/features.py:210
Method__init__
( self, model, out_indices=(0, 1, 2, 3, 4), out_map=None, out_as_dict=False, no_rewrit
timesformer/models/features.py:230
Method__init__
Naive version of Synchronized 3D BatchNorm. Args: num_sync_devices (int): number of device to sync. args (lis
timesformer/models/batchnorm_helper.py:174
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., with_qkv=True)
timesformer/models/bottle.py:60
Method__init__
(self, dim, num_heads=8, qk_scale=None, attn_drop=0., proj_drop=0., with_qkv=True)
timesformer/models/bottle.py:93
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., d
timesformer/models/bottle.py:129
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
timesformer/models/bottle.py:210
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, n
timesformer/models/bottle.py:232
Method__init__
Args: dim_in (int): the channel dimension of the input. fusion_conv_channel_ratio (int): channel ratio for the convol
timesformer/models/video_model_builder.py:99
Method__init__
The `__init__` method of any subclass should also contain these arguments. Args: cfg (CfgNode): model buildi
timesformer/models/video_model_builder.py:440
Method__init__
The `__init__` method of any subclass should also contain these arguments. Args: cfg (CfgNode): model buildin
timesformer/models/video_model_builder.py:794
Method__init__
Args: dim_in (int): the channel dimensions of the input. dim_out (int): the channel dimension of the output.
timesformer/models/resnet_helper.py:42
Method__init__
Args: dim_in (int): the channel dimensions of the input. dim_out (int): the channel dimension of the output.
timesformer/models/resnet_helper.py:130
Method__init__
Args: dim_in (int): the channel dimensions of the input. dim_out (int): the channel dimension of the output.
timesformer/models/resnet_helper.py:269
Method__init__
The `__init__` method of any subclass should also contain these arguments. ResStage builds p streams, where p can be greater or equal
timesformer/models/resnet_helper.py:550
Method__init__
(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bia
timesformer/models/conv2d_same.py:58
Method__init__
The `__init__` method of any subclass should also contain these arguments. List size of 1 for single pathway models (C2D, I3D, Slow
timesformer/models/stem_helper.py:25
Method__init__
The `__init__` method of any subclass should also contain these arguments. Args: dim_in (int): the channel dimension of
timesformer/models/stem_helper.py:124
Method__init__
The `__init__` method of any subclass should also contain these arguments. ResNetBasicHead takes p pathways as input wher
timesformer/models/head_helper.py:20
Method__init__
(self)
timesformer/models/operators.py:12
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., with_qkv=True)
timesformer/models/cross_view.py:60
Method__init__
(self, dim, num_heads=8, qk_scale=None, attn_drop=0., proj_drop=0., with_qkv=True)
timesformer/models/cross_view.py:93
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., d
timesformer/models/cross_view.py:129
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
timesformer/models/cross_view.py:203
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, n
timesformer/models/cross_view.py:225
Method__iter__
(self)
timesformer/datasets/multigrid_helper.py:59
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/kinetics.py:352
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/unlabel2.py:451
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/ssv2.py:273
Method__len__
(self)
timesformer/datasets/image.py:153
Method__len__
(self)
timesformer/datasets/multigrid_helper.py:73
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/unlabel.py:458
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/something.py:333
Method__len__
Returns: (int): the number of videos in the dataset.
timesformer/datasets/demo.py:328
Method__len__
(self)
timesformer/models/features.py:72
Method__repr__
(self)
tools/train_net_emamix.py:39
Method__repr__
(self)
timesformer/datasets/unlabel2.py:28
Method__repr__
(self)
timesformer/datasets/unlabel2.py:53
Method__repr__
(self)
timesformer/datasets/unlabel.py:30
Method__repr__
(self)
timesformer/datasets/video_transform.py:781
Method__repr__
(self)
timesformer/datasets/video_transform.py:1280
Method_collect_output_hook
(self, hook_id, *args)
timesformer/models/features.py:100
← previousnext →301–400 of 683, ranked by callers