MCPcopy Create free account

hub / github.com/alibaba-mmai-research/TAdaConv / functions

Functions571 in github.com/alibaba-mmai-research/TAdaConv

Method_pre_transformation_config
Set transformation parameters if required.
tadaconv/datasets/base/hmdb51.py:59
Method_pre_transformation_config
Set transformation parameters if required.
tadaconv/datasets/base/ssv2.py:58
Method_pre_transformation_config
Set transformation parameters if required.
tadaconv/datasets/base/epickitchen100.py:88
Method_pre_transformation_config
Set transformation parameters if required.
tadaconv/datasets/base/ucf101.py:59
Method_pre_transformation_config
Set transformation parameters if required.
tadaconv/datasets/base/kinetics400.py:59
Function_rotate_level_to_arg
(level, _hparams)
tadaconv/datasets/utils/auto_augment.py:173
Function_shear_level_to_arg
(level, _hparams)
tadaconv/datasets/utils/auto_augment.py:193
Function_solarize_add_level_to_arg
(level, _hparams)
tadaconv/datasets/utils/auto_augment.py:248
Function_solarize_increasing_level_to_arg
(level, _hparams)
tadaconv/datasets/utils/auto_augment.py:242
Function_translate_abs_level_to_arg
(level, hparams)
tadaconv/datasets/utils/auto_augment.py:200
Function_translate_rel_level_to_arg
(level, hparams)
tadaconv/datasets/utils/auto_augment.py:207
Functionall_gather
All gathers the provided tensors from all processes across machines. Args: tensors (list): tensors to perform all gather across all p
tadaconv/utils/distributed.py:19
Functionall_gather_unaligned
Run all_gather on arbitrary picklable data (not necessarily tensors). Args: data: any picklable object group: a torch proces
tadaconv/utils/distributed.py:223
Functionall_reduce
All reduce the provided tensors from all processes across machines. Args: tensors (list): tensors to perform all reduce across all pr
tadaconv/utils/distributed.py:41
Functionaugment_and_mix_transform
Create AugMix PyTorch transform :param config_str: String defining configuration of random augmentation. Consists of multiple sections separated
tadaconv/datasets/utils/auto_augment.py:824
Functionauto_augment_transform
Create a AutoAugment transform :param config_str: String defining configuration of auto augmentation. Consists of multiple sections separated
tadaconv/datasets/utils/auto_augment.py:527
Functionauto_contrast
(img, **__)
tadaconv/datasets/utils/auto_augment.py:115
Methodavg_seconds
Returns: (float): the average number of seconds between every start/reset and pause.
tadaconv/utils/timer.py:64
Functionbrightness
(img, factor, **__)
tadaconv/datasets/utils/auto_augment.py:160
Functionc2_normal_to_sub_bn
Convert BN parameters to Sub-BN parameters if model contains Sub-BNs. Args: key (OrderedDict): source dict of parameters. mdo
tadaconv/utils/checkpoint.py:392
Functioncalculate_loss
Calculates loss according to cfg. For pre-training, losses are defined and registered in `SSL_LOSSES`. Different losses can be combined b
tadaconv/models/utils/losses.py:51
Functioncheck_nan_losses
Determine whether the loss is NaN (not a number). Args: loss (loss): loss to check whether is NaN.
tadaconv/utils/misc.py:25
Functionclear_tmp_file
Remove the temporary files. Args: file_to_remove (string or BytesIO): If given "string", file will be removed.
tadaconv/utils/bucket.py:120
Functioncolor
(img, factor, **__)
tadaconv/datasets/utils/auto_augment.py:156
Functionconstruct_optimizer
Construct an optimizer. Supported optimizers include: SGD: Herbert Robbins, and Sutton Monro. "A stochastic approximation method.
tadaconv/models/utils/optimizer.py:44
Functioncontrast
(img, factor, **__)
tadaconv/datasets/utils/auto_augment.py:152
Functioncpu_mem_usage
Compute the system memory (RAM) usage for the current device (GB). Returns: usage (float): used memory (GB). total (float): t
tadaconv/utils/misc.py:55
Functionepic_localization_post_processing
Post processing for epic dataset. Args: cfg (Config): the global config object. video_list (list): videos name list.
tadaconv/utils/tal_tools.py:204
Functionepic_video_post_process
Post processing for part videos in epic dataset. Args: cfg (Config): the global config object. video_list (list): videos name
tadaconv/utils/tal_tools.py:298
Functionequalize
(img, **__)
tadaconv/datasets/utils/auto_augment.py:123
Methodfinalize_metrics_multi_label
Calculate and log the final ensembled metrics for joint verb and noun training. ks (tuple): list of top-k values for topk_ac
tadaconv/utils/meters.py:365
Methodfinalize_metrics_separate_label
Calculate and log the final ensembled metrics, for separate verb and noun training. ks (tuple): list of top-k values for top
tadaconv/utils/meters.py:408
Methodforward
(self, x)
tadaconv/models/module_zoo/ops/misc.py:26
Methodforward
(self, x: torch.Tensor)
tadaconv/models/module_zoo/ops/misc.py:40
Methodforward
(self, x)
tadaconv/models/module_zoo/ops/tadaconv.py:53
Methodforward
Args: x (tensor): feature to perform convolution on. alpha (tensor): calibration weight for the base weights.
tadaconv/models/module_zoo/ops/tadaconv.py:120
Methodforward
Args: x (tensor): feature to perform convolution on. alpha (tensor): calibration weight for the base weights.
tadaconv/models/module_zoo/ops/tadaconv.py:212
Methodforward
(self, x)
tadaconv/models/module_zoo/ops/tadaconv_v2.py:85
Methodforward
Args: feat (tensor): feature to perform convolution on. reshape_required (bool): True if intput feat is the shape of
tadaconv/models/module_zoo/ops/tadaconv_v2.py:208
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/tadaconvnextv2.py:53
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/tadaformer.py:50
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/tadaformer.py:79
Methodforward
(self, x: torch.Tensor)
tadaconv/models/module_zoo/branches/tadaformer.py:145
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/s3dg_branch.py:59
Methodforward
Feature gating as used in S3D-G
tadaconv/models/module_zoo/branches/s3dg_branch.py:79
Methodforward
(self,x)
tadaconv/models/module_zoo/branches/s3dg_branch.py:141
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/csn_branch.py:62
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/non_local.py:58
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/slowfast_branch.py:81
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/r2plus1d_branch.py:125
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/tada_branch.py:88
Methodforward
(self, x)
tadaconv/models/module_zoo/branches/r2d3d_branch.py:87
Methodforward
(self, x)
tadaconv/models/module_zoo/stems/r2plus1d_stem.py:61
Methodforward
(self, x)
tadaconv/models/module_zoo/stems/embedding_stem.py:48
Methodforward
(self, x)
tadaconv/models/module_zoo/stems/embedding_stem.py:91
Methodforward
(self, x)
tadaconv/models/module_zoo/stems/downsample_stem.py:25
Methodforward
Returns: x (Tensor): classification predictions. logits (Tensor): global average pooled features.
tadaconv/models/module_zoo/heads/transformer_head.py:58
Methodforward
Returns: x (dict): dictionary of classification predictions, with keys "verb_class" and "noun_class" indicating
tadaconv/models/module_zoo/heads/transformer_head.py:123
Methodforward
Returns: x (Tensor): classification predictions. logits (Tensor): global average pooled features.
tadaconv/models/module_zoo/heads/slowfast_head.py:75
Methodforward
Returns: x (dict): dictionary of classification predictions, with keys "verb_class" and "noun_class" indicating
tadaconv/models/module_zoo/heads/slowfast_head.py:169
Methodforward
Returns: x (dict): dictionary with keys "move_x", indicating the category prediction on the x-axis. l
tadaconv/models/module_zoo/heads/mosi_head.py:50
Methodforward
Returns: x (dict): dictionary with keys "move_y", indicating the category prediction on the y-axis. l
tadaconv/models/module_zoo/heads/mosi_head.py:111
Methodforward
Returns: x (Tensor): joint prediction on both axes. logits (Tensor): global average pooled features.
tadaconv/models/module_zoo/heads/mosi_head.py:176
Methodforward
Args: x (dict): { "video" (tensor): Features for sliding windows. } Returns: outp
tadaconv/models/module_zoo/heads/bmn_head.py:109
Methodforward
(self, x, target)
tadaconv/models/utils/losses.py:28
Methodforward
(self, x)
tadaconv/models/base/slowfast.py:101
Methodforward
(self, x_slow, x_fast)
tadaconv/models/base/slowfast.py:146
Methodforward
(self, x)
tadaconv/models/base/models.py:42
Methodforward
(self, x)
tadaconv/models/base/models.py:74
Methodforward
(self, x)
tadaconv/models/base/transformer.py:19
Methodforward
(self, x)
tadaconv/models/base/transformer.py:34
Methodforward
(self, x)
tadaconv/models/base/transformer.py:80
Methodforward
(self, x)
tadaconv/models/base/transformer.py:172
Methodforward
(self, x)
tadaconv/models/base/transformer.py:215
Methodforward
(self, x)
tadaconv/models/base/transformer.py:268
Methodforward
(self, x)
tadaconv/models/base/transformer.py:353
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:101
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:150
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:204
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:235
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:295
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:361
Methodforward
Returns: x (Tensor): classification predictions. logits (Tensor): global average pooled features.
tadaconv/models/base/base_blocks.py:417
Methodforward
Returns: x (dict): dictionary of classification predictions, with keys "verb_class" and "noun_class" indicating
tadaconv/models/base/base_blocks.py:479
Methodforward
(self, x)
tadaconv/models/base/base_blocks.py:540
Methodforward
(self, x)
tadaconv/models/base/backbone.py:79
Methodforward
(self, x)
tadaconv/models/base/backbone.py:172
Methodforward
(self, x)
tadaconv/models/base/backbone.py:215
Methodforward
(self, x: torch.Tensor)
tadaconv/models/base/backbone.py:266
Methodforward
(self, x)
tadaconv/models/base/backbone.py:376
Functionfrozen_bn_stats
Set all the bn layers to eval mode. Args: model (model): model to set bn layers to eval mode.
tadaconv/utils/misc.py:212
Methodget_all_registered
Prints all registered class.
tadaconv/utils/registry.py:62
Functionget_epoch_lr
Retrieves the lr for the given epoch (as specified by the lr policy). Args: cur_epoch (float): current poch id. cfg (Config):
tadaconv/models/utils/optimizer.py:252
Functionget_local_rank
Returns: The rank of the current process within the local (per-machine) process group.
tadaconv/utils/distributed.py:293
Functionget_local_size
Returns: The size of the per-machine process group, i.e. the number of processes per machine.
tadaconv/utils/distributed.py:280
Functionget_lr_at_epoch
Retrieve the learning rate of the current epoch with the option to perform warm up in the beginning of the training stage. Args:
tadaconv/models/utils/lr_policy.py:10
Functionget_num_layer_for_vit
(name, num_layers)
tadaconv/models/utils/optimizer.py:22
Methodget_win_avg
Calculate the current average value of the deque.
tadaconv/utils/meters.py:508
Functioninit_distributed_training
Initialize variables needed for distributed training.
tadaconv/utils/distributed.py:262
Functioninit_process_group
Initializes the default process group. Args: local_rank (int): the rank on the current local machine. local_world_size (int):
tadaconv/utils/distributed.py:60
← previousnext →401–500 of 571, ranked by callers