Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba-mmai-research/TAdaConv
/ functions
Functions
571 in github.com/alibaba-mmai-research/TAdaConv
⨍
Functions
571
◇
Types & classes
91
Function
initialize_bucket
Wrapper for bucket initialization, with specified key, secret, endpoint, and bucket name. See more: https://pypi.org/project/oss2/. A
tadaconv/utils/bucket.py:13
Function
invert
(img, **__)
tadaconv/datasets/utils/auto_augment.py:119
Function
is_checkpoint_epoch
Determine if a checkpoint should be saved on current epoch. Args: cfg (Config): the global config object. cur_epoch (int): cu
tadaconv/utils/checkpoint.py:126
Function
is_eval_epoch
Determine if the model should be evaluated at the current epoch. Args: cfg (Config): the global config object. cur_epoch (int
tadaconv/utils/misc.py:168
Function
is_master_proc
Determines if the current process is the master process.
tadaconv/utils/distributed.py:98
Method
is_paused
Returns: bool: whether the timer is currently paused
tadaconv/utils/timer.py:35
Method
iter_tic
(self)
tadaconv/utils/meters.py:134
Method
iter_tic
(self)
tadaconv/utils/meters.py:359
Method
iter_tic
Start to record time.
tadaconv/utils/meters.py:563
Method
iter_toc
(self)
tadaconv/utils/meters.py:137
Method
iter_toc
(self)
tadaconv/utils/meters.py:362
Method
iter_toc
Stop to record time.
tadaconv/utils/meters.py:569
Function
joint_topks_correct
Calculates number of correctly predicted samples for each top-k value respectively for separate verb/noun, and joint action predictions.
tadaconv/utils/metrics.py:12
Function
lecun_normal_
(tensor)
tadaconv/models/utils/init_helper.py:100
Function
load_test_checkpoint
Loading checkpoint logic for testing.
tadaconv/utils/checkpoint.py:453
Function
load_train_checkpoint
Loading checkpoint logic for training.
tadaconv/utils/checkpoint.py:531
Method
log_epoch_stats
Log the stats of the current epoch. Args: cur_epoch (int): the number of current epoch.
tadaconv/utils/meters.py:645
Method
log_iter_stats
Log the stats. Args: cur_iter (int): the current iteration of testing.
tadaconv/utils/meters.py:116
Method
log_iter_stats
Log the stats. Args: cur_iter (int): the current iteration of testing.
tadaconv/utils/meters.py:341
Method
log_iter_stats
log the stats of the current iteration. Args: cur_epoch (int): the number of current epoch. cur_iter (int): t
tadaconv/utils/meters.py:615
Function
log_json_stats
Logs json stats. Args: stats (dict): a dictionary of statistical information to log.
tadaconv/utils/logging.py:77
Function
log_model_info
Log info, includes number of parameters, gpu usage, gflops and activation count. The model info is computed when the model is in validati
tadaconv/utils/misc.py:145
Function
lr_func_cosine
Retrieve the learning rate to specified values at specified epoch with the cosine learning rate schedule. Details can be found in: Ilya L
tadaconv/models/utils/lr_policy.py:30
Function
lr_func_cosine_v2
Retrieve the learning rate to specified values at specified epoch with the cosine learning rate schedule. Details can be found in: Ilya L
tadaconv/models/utils/lr_policy.py:46
Function
lr_func_steps_with_relative_lrs
Retrieve the learning rate to specified values at specified epoch with the steps with relative learning rate schedule. Args: cfg
tadaconv/models/utils/lr_policy.py:71
Function
make_checkpoint_dir
Creates the checkpoint directory (if not present already). Args: path_to_job (string): the path to the folder of the current job.
tadaconv/utils/checkpoint.py:63
Function
parse_epic_bmn_proposals
Parse epic proposals by BMN map Args: cfg (Config): the global config object. results_dict (dict): Maps output by BMN. re
tadaconv/utils/tal_tools.py:67
Function
plot_input
Plot the input tensor with the optional bounding box and save it to disk. Args: tensor (tensor): a tensor with shape of `NxCxHxW`.
tadaconv/utils/misc.py:183
Function
posterize
(img, bits_to_keep, **__)
tadaconv/datasets/utils/auto_augment.py:146
Function
print_pass
(*objects, sep=" ", end="\n", file=sys.stdout, flush=False)
tadaconv/utils/logging.py:26
Function
put_to_bucket
Wrapper for putting data to the specified bucket. See more: https://pypi.org/project/oss2/. Args: bucket (oss2.Bucket):
tadaconv/utils/bucket.py:90
Function
read_from_bucket
Wrapper for reading data to the hard drive of local machine, from the specified bucket. See more: https://pypi.org/project/oss2/. Ar
tadaconv/utils/bucket.py:66
Function
read_from_buffer
Wrapper for reading data directly to the memory of the local machine, from the specified bucket. See more: https://pypi.org/project/oss2/.
tadaconv/utils/bucket.py:37
Method
recur
(key, elem)
tadaconv/utils/config.py:241
Method
reg
(obj)
tadaconv/utils/registry.py:45
Method
register
Wrapper function for registering a module.
tadaconv/utils/registry.py:41
Method
reset
Reset the deque.
tadaconv/utils/meters.py:486
Method
reset
Reset the Meter.
tadaconv/utils/meters.py:548
Method
resume
Resume the timer.
tadaconv/utils/timer.py:42
Function
rotate
(img, degrees, **kwargs)
tadaconv/datasets/utils/auto_augment.py:83
Function
run
Runs a function from a child process. Args: local_rank (int): rank of the current process on the current machine. func (funct
tadaconv/utils/launcher.py:38
Function
save_checkpoint
Save a checkpoint. Args: model (model): model to save the weight to the checkpoint. optimizer (optim): optimizer to save the
tadaconv/utils/checkpoint.py:139
Function
save_epic_props
Save a video proposals for epic-kitchen. Args: cfg (Config): the global config object. bucket (Oss bucket): ignore it if you
tadaconv/utils/tal_tools.py:31
Method
set
(self, model)
tadaconv/models/utils/model_ema.py:47
Method
set_epoch
(self, epoch)
tadaconv/utils/val_dist_sampler.py:102
Function
set_lr
Sets the optimizer lr to the specified value. Args: optimizer (optim): the optimizer using to optimize the current network. n
tadaconv/models/utils/optimizer.py:263
Method
set_spatial_index
(self, idx)
tadaconv/datasets/utils/transformations.py:320
Function
setup_logging
Sets up the logging for multiple processes. Only enable the logging for the master process, and suppress logging for the non-master processes
tadaconv/utils/logging.py:32
Function
sharpness
(img, factor, **__)
tadaconv/datasets/utils/auto_augment.py:164
Function
shear_x
(img, factor, **kwargs)
tadaconv/datasets/utils/auto_augment.py:51
Function
shear_y
(img, factor, **kwargs)
tadaconv/datasets/utils/auto_augment.py:56
Function
solarize
(img, thresh, **__)
tadaconv/datasets/utils/auto_augment.py:127
Function
solarize_add
(img, add, thresh=128, **__)
tadaconv/datasets/utils/auto_augment.py:131
Function
submission_test
Performs multi-view test on the submission set, and save the prediction results. Currently only support EPIC-KITCHENS submission set. Arg
runs/submission_test.py:193
Function
synchronize
Helper function to synchronize (barrier) among all processes when using distributed training
tadaconv/utils/distributed.py:130
Function
tensor2cuda
Put Tensor in iterable data into gpu. Args: data :(tensor or list or dict)
tadaconv/utils/tensor.py:4
Function
test
Perform multi-view testing on the pretrained video model. Args: cfg (Config): The global config object.
runs/test.py:180
Function
test_epic_localization
Perform sliding windows testing on the pretrained video model. Args: cfg (CfgNode): Gobal configs.
runs/test_epic_localization.py:148
Function
topk_accuracies
Computes the top-k accuracy for each k. Args: preds (array): array of predictions. Dimension is N. labels (array): array of l
tadaconv/utils/metrics.py:148
Function
topk_errors
Computes the top-k error for each k. Args: preds (array): array of predictions. Dimension is N. labels (array): array of labe
tadaconv/utils/metrics.py:136
Function
train
Train a video model for many epochs on train set and evaluate it on val set. Args: cfg (Config): The global config object.
runs/train.py:317
Function
translate_x_abs
(img, pixels, **kwargs)
tadaconv/datasets/utils/auto_augment.py:73
Function
translate_x_rel
(img, pct, **kwargs)
tadaconv/datasets/utils/auto_augment.py:61
Function
translate_y_abs
(img, pixels, **kwargs)
tadaconv/datasets/utils/auto_augment.py:78
Function
translate_y_rel
(img, pct, **kwargs)
tadaconv/datasets/utils/auto_augment.py:67
Method
update_custom_stats
Update stats using custom keys. Args: stats (dict): additional stats to be updated.
tadaconv/utils/meters.py:603
Method
update_stats
Collect the predictions from the current batch and perform on-the-flight summation as ensemble. Args: preds (tens
tadaconv/utils/meters.py:81
Method
update_stats
Update the current stats. Args: top1_err (float): top1 error rate. top5_err (float): top5 error rate.
tadaconv/utils/meters.py:575
Method
update_stats_multi_label
Collect the predictions from the current batch and perform on-the-flight summation as ensemble, for joint verb and noun training.
tadaconv/utils/meters.py:293
Method
update_stats_separate_label
Collect the predictions from the current batch and perform on-the-flight summation as ensemble, for separate verb and noun training.
tadaconv/utils/meters.py:265
Method
visualize_features
Visualizes and saves the normalized output features for the module.
tadaconv/models/base/base_blocks.py:41
← previous
501–571 of 571, ranked by callers