MCPcopy Create free account

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

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

↓ 1 callersMethodget_distance_factor
(self, speed_factor)
tadaconv/sslgenerators/mosi/mosi_generator.py:254
↓ 1 callersFunctionget_logger
Retrieve the logger with the specified name or, if name is None, return a logger which is the root logger of the hierarchy. Args:
tadaconv/utils/logging.py:67
↓ 1 callersFunctionget_num_gpus
(cfg)
tadaconv/utils/misc.py:222
↓ 1 callersFunctionget_path_to_checkpoint
Get the full path to a checkpoint file. Args: path_to_job (string): the path to the folder of the current job. epoch (int): t
tadaconv/utils/checkpoint.py:88
↓ 1 callersFunctionget_rank
Get the rank of the current process.
tadaconv/utils/distributed.py:119
↓ 1 callersFunctionget_sampler
Returns the sampler object for the dataset. Args: dataset (Dataset): constructed dataset. split (str):
tadaconv/datasets/base/builder.py:22
↓ 1 callersFunctionget_step_index
Retrieves the lr step index for the given epoch. Args: cfg (Config): global config object. cur_epoch (float): the number of
tadaconv/models/utils/lr_policy.py:83
↓ 1 callersMethodget_video_preds
Returns the saved video predictions.
tadaconv/utils/meters.py:455
↓ 1 callersFunctionget_world_size
Get the size of the world.
tadaconv/utils/distributed.py:108
↓ 1 callersFunctiongpu_mem_usage
Compute the GPU memory usage for the current device (GB).
tadaconv/utils/misc.py:44
↓ 1 callersMethodinitialize_speed_set
Initialize speed set for x and y separately. Initialized speed set is a list of lists [speed_x, speed_y]. First a set o
tadaconv/sslgenerators/mosi/mosi_generator.py:65
↓ 1 callersFunctioninterpolated_prec_rec
Interpolated AP - VOCdevkit from VOC 2011.
tadaconv/utils/eval_tal/eval_epic_detection.py:338
↓ 1 callersMethodlabel_generator
Generates the label for the MoSI. `separate` label is used for separate prediction on the two axes, i.e., two classifi
tadaconv/sslgenerators/mosi/mosi_generator.py:178
↓ 1 callersFunctionlabel_smoothing
(cfg, target)
tadaconv/datasets/utils/mixup.py:31
↓ 1 callersFunctionlaunch_task
Launches the task "func" on one or multiple devices. Args: cfg (Config): global config object. init_method (str): initializa
tadaconv/utils/launcher.py:9
↓ 1 callersFunctionload_feature
Load features from path or IO. Args: path (io.BytesIO or string): File path or io.
tadaconv/datasets/base/epickitchen100_feature.py:27
↓ 1 callersFunctionmain
Entry function for spawning all the function processes.
runs/run.py:81
↓ 1 callersFunctionmain
( anno_conversion, data_conversion, num_splits, split_id, split, anno_path, data_path, data_out_path )
tadaconv/datasets/utils/preprocess_ssv2.py:16
↓ 1 callersFunctionnormal_to_sub_bn
Convert BN parameters to Sub-BN parameters if model contains Sub-BNs. Args: checkpoint_sd (OrderedDict): source dict of parameters.
tadaconv/utils/checkpoint.py:412
↓ 1 callersFunctionparams_count
Compute the number of parameters. Args: model (model): model to count the number of parameters.
tadaconv/utils/misc.py:35
↓ 1 callersFunctionperform_submission_test
Performs multi-view test on the submission set, where {cfg.TEST.NUM_ENSEMBLE_VIEWS} clips and {cfg.TEST.NUM_SPATIAL_CROPS} crops are sampled
runs/submission_test.py:24
↓ 1 callersFunctionproposals_post_processing
Post processing for videos by multiprocessing. Args: cfg (Config): the global config object. video_list (list): videos name l
tadaconv/utils/tal_tools.py:170
↓ 1 callersFunctionrand_augment_ops
(magnitude=10, hparams=None, transforms=None)
tadaconv/datasets/utils/auto_augment.py:626
↓ 1 callersFunctionrand_augment_transform
Create a RandAugment transform :param config_str: String defining configuration of random augmentation. Consists of multiple sections separat
tadaconv/datasets/utils/auto_augment.py:659
↓ 1 callersFunctionrand_bbox
Standard CutMix bounding-box Generates a random square bbox based on lambda value. This impl includes support for enforcing a border margin a
tadaconv/datasets/utils/mixup.py:43
↓ 1 callersFunctionrand_bbox_minmax
Min-Max CutMix bounding-box Inspired by Darknet cutmix impl, generates a random rectangular bbox based on min/max percent values applied to e
tadaconv/datasets/utils/mixup.py:67
↓ 1 callersMethodreset
Reset the metric.
tadaconv/utils/meters.py:73
↓ 1 callersMethodreset
Reset the metric.
tadaconv/utils/meters.py:251
↓ 1 callersMethodsample_generator
Generate different MoSI samples for the data. Args: data (dict): the dictionary that contains a "video" key for the
tadaconv/sslgenerators/mosi/mosi_generator.py:129
↓ 1 callersFunctionsegment_iou
Compute the temporal intersection over union between a target segment and all the test segments. Parameters ---------- target_segment
tadaconv/utils/eval_tal/eval_epic_detection.py:349
↓ 1 callersMethodset_epoch
(self, epoch)
tadaconv/utils/sampler.py:93
↓ 1 callersMethodset_model_ema_enabled
Whether the meter logs for ema models or not. Args: model_ema_enabled (bool): indicator of whether ema model
tadaconv/utils/meters.py:446
↓ 1 callersFunctionshuffle_dataset
Shuffles the sampler for the dataset. Args: loader (loader): data loader to perform shuffle. cur_epoch (int): n
tadaconv/datasets/base/builder.py:97
↓ 1 callersFunctionsoft_nms
Soft nms for one video. Args: df: proposals generated by network; alpha: alpha value of Gaussian decaying function; t
tadaconv/utils/tal_tools.py:249
↓ 1 callersMethodstatic_mask
Applys static mask with random position and size to the generated pseudo motion sequence Args: frames (Tens
tadaconv/sslgenerators/mosi/mosi_generator.py:305
↓ 1 callersMethodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
tadaconv/models/utils/lars.py:67
↓ 1 callersFunctionsub_to_normal_bn
Convert the Sub-BN paprameters to normal BN parameters in a state dict. There are two copies of BN layers in a Sub-BN implementation: `bn.bn`
tadaconv/utils/checkpoint.py:351
↓ 1 callersFunctiontrain_epoch
Perform the video training for one epoch. Args: train_loader (loader): video training loader. model (model): the video model
runs/train.py:31
↓ 1 callersFunctionvariance_scaling_
(tensor, scale=1.0, mode='fan_in', distribution='normal')
tadaconv/models/utils/init_helper.py:77
FunctionLoss_BmnActionCls
Calculate action classification loss for proposals, but this donot work in epic dataset. Args: preds (dict): predicted action classif
tadaconv/models/utils/localization_losses.py:53
FunctionLoss_MoSIJoint
Computes joint MoSI loss. See Ziyuan Huang et al. Self-supervised Motion Learning from Static Images. https://arxiv.org/pdf/2104.0024
tadaconv/models/utils/losses.py:173
FunctionLoss_MoSIX
Computes only-x MoSI loss. See Ziyuan Huang et al. Self-supervised Motion Learning from Static Images. https://arxiv.org/pdf/2104.002
tadaconv/models/utils/losses.py:121
FunctionLoss_MoSIY
Computes only-y MoSI loss. See Ziyuan Huang et al. Self-supervised Motion Learning from Static Images. https://arxiv.org/pdf/2104.002
tadaconv/models/utils/losses.py:147
FunctionLoss_PemCls
Binary classification confidence maps. Args: preds (dict): predicted classification confidence maps. logits (Tensor): Only fo
tadaconv/models/utils/localization_losses.py:121
FunctionLoss_PemReg
Regression confidence maps. Args: preds (dict): predicted regression confidence maps. logits (Tensor): Only for placeholders,
tadaconv/models/utils/localization_losses.py:78
FunctionLoss_Tem
Calculate start and end loss. Args: preds (dict): predicted start and end sequences. logits (Tensor): Only for placeholders,
tadaconv/models/utils/localization_losses.py:17
Method__call__
(self, frames, index)
tadaconv/sslgenerators/mosi/mosi_generator.py:370
Method__call__
(self, batch)
tadaconv/datasets/utils/collate_functions.py:18
Method__call__
(self, img)
tadaconv/datasets/utils/auto_augment.py:333
Method__call__
(self, img)
tadaconv/datasets/utils/auto_augment.py:511
Method__call__
(self, img)
tadaconv/datasets/utils/auto_augment.py:639
Method__call__
(self, img)
tadaconv/datasets/utils/auto_augment.py:807
Method__call__
Args: clip (torch.tensor): Size is (C, T, H, W) Return: clip (torch.tensor): Size is (C, T, H, W)
tadaconv/datasets/utils/transformations.py:124
Method__call__
Args: clip (torch.tensor): Video clip to be cropped. Size is (C, T, H, W) Returns: torch.tensor: randomly
tadaconv/datasets/utils/transformations.py:379
Method__call__
(self, clip)
tadaconv/datasets/utils/transformations.py:471
Method__call__
(self, x, target)
tadaconv/datasets/utils/mixup.py:286
Method__call__
(self, input)
tadaconv/datasets/utils/random_erasing.py:91
Method__getitem__
Gets the specified data. Args: index (int): the index of the data in the self._samples list. Returns:
tadaconv/datasets/base/epickitchen100_feature.py:272
Method__getitem__
Gets the specified data. Args: index (int): the index of the data in the self._samples list. Returns:
tadaconv/datasets/base/base_dataset.py:328
Method__init__
Construct tensors to store the predictions and labels. Expect to get num_clips predictions from each video, and calculate the metrics
tadaconv/utils/meters.py:32
Method__init__
Construct tensors to store the predictions and labels. Expect to get num_clips predictions from each video, and calculate the metrics
tadaconv/utils/meters.py:190
Method__init__
Args: window_size (int): size of the max length of the deque.
tadaconv/utils/meters.py:477
Method__init__
Args: epoch_iters (int): the overall number of iterations of one epoch. cfg (Config): the global config object.
tadaconv/utils/meters.py:526
Method__init__
Args: max_iter (int): the max number of iteration of the current epoch. cfg (Config): the global config object.
tadaconv/utils/meters.py:681
Method__init__
Args: load (bool): whether or not yaml is needed to be loaded. cfg_dict (dict): dictionary of configs to be updated
tadaconv/utils/config.py:22
Method__init__
(self)
tadaconv/utils/timer.py:15
Method__init__
When num_folds = 1, MultiFoldDistributedSampler degenerates to DistributedSampler.
tadaconv/utils/sampler.py:47
Method__init__
Initializes the registry. Args: table_name (str): specifies the name of the registry
tadaconv/utils/registry.py:18
Method__init__
We divide each video in epic dataset into multiple sliding windows. Each sliding window is a sample in validation process for
tadaconv/utils/val_dist_sampler.py:50
Method__init__
(self, ground_truth_filename=None, prediction_filename=None, ground_truth_fields=GROUND_TRUTH
tadaconv/utils/eval_tal/eval_epic_detection.py:22
Method__init__
Args: cfg (Config): global config object. split (str): the data split, e.g., "train", "val", "test"
tadaconv/sslgenerators/mosi/mosi_generator.py:34
Method__init__
(self, cfg)
tadaconv/datasets/utils/collate_functions.py:15
Method__init__
(self, name, prob=0.5, magnitude=10, hparams=None)
tadaconv/datasets/utils/auto_augment.py:312
Method__init__
(self, policy)
tadaconv/datasets/utils/auto_augment.py:508
Method__init__
(self, ops, num_layers=2, choice_weights=None)
tadaconv/datasets/utils/auto_augment.py:634
Method__init__
(self, ops, alpha=1., width=3, depth=-1, blended=False)
tadaconv/datasets/utils/auto_augment.py:757
Method__init__
( self, brightness=0, contrast=0, saturation=0, hue=0, grayscale=0, color=0., consistent=False, shuff
tadaconv/datasets/utils/transformations.py:37
Method__init__
( self, size, scale=(0.08, 1.0), interpolation_mode="bilin
tadaconv/datasets/utils/transformations.py:301
Method__init__
( self, short_side_range, crop_size, num_spatial_crops=1, )
tadaconv/datasets/utils/transformations.py:394
Method__init__
Args: cfg (Config): global config object.
tadaconv/datasets/utils/mixup.py:117
Method__init__
Args: cfg (Config): global config object.
tadaconv/datasets/utils/random_erasing.py:46
Method__init__
(self, cfg, split)
tadaconv/datasets/base/hmdb51.py:22
Method__init__
(self, cfg, split)
tadaconv/datasets/base/ssv2.py:23
Method__init__
Init Localization dataset. Args: cfg (Configs): global config object. details in utils/config.py split (stri
tadaconv/datasets/base/epickitchen100_feature.py:58
Method__init__
(self, cfg, split)
tadaconv/datasets/base/imagenet.py:33
Method__init__
For initialization of the dataset, the global cfg and the split need to provided. Args: cfg (Config): The global c
tadaconv/datasets/base/base_dataset.py:50
Method__init__
(self, cfg, split)
tadaconv/datasets/base/epickitchen100.py:23
Method__init__
(self, cfg, split)
tadaconv/datasets/base/ucf101.py:23
Method__init__
(self, cfg, split)
tadaconv/datasets/base/kinetics400.py:23
Method__init__
(self, normalized_shape, eps=1e-6, data_format="channels_last")
tadaconv/models/module_zoo/ops/misc.py:16
Method__init__
Args: c_in (int): number of input channels. ratio (int): reduction ratio for the routing function. kernel
tadaconv/models/module_zoo/ops/tadaconv.py:17
Method__init__
(self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation=1, groups=1, bia
tadaconv/models/module_zoo/ops/tadaconv.py:163
Method__init__
Args: c_in (int): number of input channels. ratio (int): reduction ratio for the routing function. kernel
tadaconv/models/module_zoo/ops/tadaconv_v2.py:21
Method__init__
(self, cfg, dim, drop_path=0., layer_scale_init_value=1e-6)
tadaconv/models/module_zoo/branches/tadaconvnextv2.py:25
Method__init__
(self, cfg)
tadaconv/models/module_zoo/branches/tadaformer.py:23
Method__init__
(self, cfg, drop_path_rate: float = 0.0)
tadaconv/models/module_zoo/branches/tadaformer.py:92
Method__init__
(self, cfg, in_planes, out_planes)
tadaconv/models/module_zoo/branches/s3dg_branch.py:20
Method__init__
(self, input_dim)
tadaconv/models/module_zoo/branches/s3dg_branch.py:75
Method__init__
Args: cfg (Config): global config object. block_idx (list): list of [stage_id, block_id], bot
tadaconv/models/module_zoo/branches/csn_branch.py:20
Method__init__
(self, cfg, block_idx)
tadaconv/models/module_zoo/branches/non_local.py:20
← previousnext →201–300 of 571, ranked by callers