MCPcopy Create free account

hub / github.com/TPCD/LifelongReID / functions

Functions2,488 in github.com/TPCD/LifelongReID

↓ 1 callersMethodcompare_models
(self, modelA, modelB, test_setup='')
apex/tests/L0/run_amp/test_checkpointing.py:60
↓ 1 callersMethodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_adam.py:552
↓ 1 callersMethodcompute_AP
given a query and all galleries, compute its ap and cmc
lreid/evaluation/reid.py:60
↓ 1 callersFunctioncompute_n1_n2
apex/csrc/layer_norm_cuda.cpp:7
↓ 1 callersFunctioncompute_valid_1d_patterns
(m,n)
apex/apex/contrib/sparsity/sparse_masklib.py:25
↓ 1 callersFunctioncompute_valid_2d_patterns
(m,n)
apex/apex/contrib/sparsity/sparse_masklib.py:103
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
apex/apex/pyprof/examples/user_annotation/resnet.py:15
↓ 1 callersFunctionconvert_module
Converts a module's immediate parameters and buffers to dtype.
apex/apex/fp16_utils/fp16util.py:44
↓ 1 callersFunctioncosine_distance
Computes cosine distance. Args: input1 (torch.Tensor): 2-D feature matrix. input2 (torch.Tensor): 2-D feature matrix. Return
lreid/evaluation/distance.py:62
↓ 1 callersMethodcreateMarkerTable
Create a temporary table and index it to speed up repeated SQL quesries. The table is an INNER JOIN of CUPTI_ACTIVITY_KIND_MARKER with itself.
apex/apex/pyprof/parse/nvvp.py:45
↓ 1 callersMethodcreate_hooks
(self)
apex/apex/parallel/distributed.py:319
↓ 1 callersFunctioncreate_mask
(tensor, pattern="m4n2_1d", density=0.5)
apex/apex/contrib/sparsity/sparse_masklib.py:145
↓ 1 callersMethodcreate_validation_set_for_forget
(self)
lreid/data_loader/dataset.py:203
↓ 1 callersFunctionctaTile
(name)
apex/apex/pyprof/prof/recurrentCell.py:11
↓ 1 callersFunctioncuLoadAddStridedInputs
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:365
↓ 1 callersFunctioncuLoadWriteStridedInputs
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:321
↓ 1 callersFunctioncuWelfordMuSigma2
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:47
↓ 1 callersFunctiondemangle
Demangle a C++ string
apex/apex/pyprof/parse/kernel.py:5
↓ 1 callersMethoddetach_hidden
detach_hidden()
apex/apex/RNN/RNNBackend.py:338
↓ 1 callersFunctiondisable_casts
(mod, fn, handle)
apex/apex/amp/wrap.py:267
↓ 1 callersFunctiondownload_url
Downloads file from a url to a destination. Args: url (str): url to download file. dst (str): destination path.
lreid/utils/tools.py:67
↓ 1 callersMethoddownscale
(self, sizea, sizeb, applier, repeat_tensors, in_type, out_type, inplace=False)
apex/tests/L0/run_amp/test_multi_tensor_scale.py:36
↓ 1 callersMethodelems
(self)
apex/apex/pyprof/prof/misc.py:92
↓ 1 callersMethodelems
(self)
apex/apex/pyprof/prof/misc.py:134
↓ 1 callersMethodelems
(self)
apex/apex/pyprof/prof/softmax.py:44
↓ 1 callersMethodelems
(self)
apex/apex/pyprof/prof/softmax.py:104
↓ 1 callersMethodelems
(self)
apex/apex/pyprof/prof/convert.py:54
↓ 1 callersFunctioneligible_modules
(model, whitelist_layer_types, allowed_layer_names, disallowed_layer_names)
apex/apex/contrib/sparsity/asp.py:12
↓ 1 callersFunctionencode_object_id
Given process id (pid) and thread id (tid), return the object id. object id = pid (little endian 4 bytes) + tid (little endian 8 bytes)
apex/apex/pyprof/parse/kernel.py:11
↓ 1 callersFunctioneuclidean_dist_rank
Args: x: pytorch Variable, with shape [m, d] y: pytorch Variable, with shape [n, d] Returns: dist: pytorch Variable, with s
lreid/losses/ranked_list_loss.py:14
↓ 1 callersFunctioneuclidean_squared_distance
Computes euclidean squared distance. Args: input1 (torch.Tensor): 2-D feature matrix. input2 (torch.Tensor): 2-D feature matrix.
lreid/evaluation/distance.py:44
↓ 1 callersFunctioneval_cuhk03
Evaluation with cuhk03 metric Key: one image for each gallery identity is randomly sampled for each query identity. Random sampling is perform
lreid/evaluation/rank.py:16
↓ 1 callersFunctioneval_market1501
Evaluation with market1501 metric Key: for each query identity, its gallery images from the same camera view are discarded.
lreid/evaluation/rank.py:93
↓ 1 callersFunctionevaluate_py
( distmat, q_pids, g_pids, q_camids, g_camids, max_rank, use_metric_cuhk03 )
lreid/evaluation/rank.py:155
↓ 1 callersMethodextra_repr
(self)
apex/apex/mlp/mlp.py:77
↓ 1 callersMethodextract_file
(self)
lreid/data/datasets/image/cuhk01.py:64
↓ 1 callersMethodextract_file
(self)
lreid/datasets/cuhk01.py:46
↓ 1 callersMethodextract_file
(self)
lreid/datasets/cuhk01.py:172
↓ 1 callersFunctionextract_tensors
(maybe_tensor, tensor_list)
apex/apex/parallel/distributed.py:78
↓ 1 callersFunctionfast_collate
(batch, memory_format)
apex/examples/imagenet/main_amp.py:28
↓ 1 callersMethodfilter_current_step_pids
(self, class_dict, pid_list)
lreid/data_loader/loader.py:142
↓ 1 callersMethodfilter_current_step_pids
(self, class_dict, pid_list)
lreid/data_loader/loader.py:219
↓ 1 callersFunctionfindFpropKernel
(seq)
apex/apex/pyprof/prof/prof.py:39
↓ 1 callersMethodflops
(self)
apex/apex/pyprof/prof/blas.py:333
↓ 1 callersMethodflush
(self)
lreid/utils/loggers.py:50
↓ 1 callersFunctionfoo
(x, y)
apex/apex/pyprof/examples/jit/jit_script_function.py:11
↓ 1 callersMethodforward
(self, input)
apex/apex/mlp/mlp.py:74
↓ 1 callersMethodforward
(self, input)
apex/apex/normalization/fused_layer_norm.py:153
↓ 1 callersMethodforward
(self,x)
lreid/methods/meta_template.py:26
↓ 1 callersMethodfwd
apex/apex/contrib/csrc/groupbn/batch_norm.h:658
↓ 1 callersFunctiongemm_switch_fp32accum
apex/apex/contrib/csrc/multihead_attn/strided_batched_gemm.h:149
↓ 1 callersMethodgenerate_task_incremental_list
(self)
lreid/data_loader/dataset.py:153
↓ 1 callersMethodgenerate_wh
(self, W, H)
lreid/data/transforms.py:183
↓ 1 callersMethodgetCPUInfo
Given the correlation id, get CPU start, end, thread id, process id. The information can be in the runtime table or the driver table.
apex/apex/pyprof/parse/nvvp.py:65
↓ 1 callersMethodgetKernelInfo
Get GPU kernel info
apex/apex/pyprof/parse/nvvp.py:91
↓ 1 callersMethodgetMarkerInfo
This function first finds all NVTX markers encapsulating a runtime / driver kernel launch. It then splits the markers into many lists. layer
apex/apex/pyprof/parse/nvvp.py:99
↓ 1 callersMethodgetProfileStart
Get the profile start time
apex/apex/pyprof/parse/nvvp.py:18
↓ 1 callersFunctiongetShortName
Returns a shorter kernel name
apex/apex/pyprof/parse/kernel.py:20
↓ 1 callersMethodget_current_learning_rate
(self)
lreid/core/base_metagraph_p_s.py:461
↓ 1 callersMethodget_data_list
(self)
lreid/data/datasets/image/cuhk02.py:41
↓ 1 callersMethodget_data_list
(self)
lreid/datasets/cuhk02.py:25
↓ 1 callersMethodget_data_list
(self)
lreid/datasets/cuhk02.py:115
↓ 1 callersMethodget_data_path
(self)
lreid/data/datasets/ps_dataset.py:67
↓ 1 callersFunctionget_func
(mod, fn)
apex/apex/amp/utils.py:140
↓ 1 callersMethodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:939
↓ 1 callersMethodget_num_datasets
Returns the number of datasets included. Each tuple in data contains (img_path(s), pid, camid, dsetid).
lreid/data/datasets/dataset.py:166
↓ 1 callersMethodget_params
gets params of reparameterization based on known attribute names
apex/apex/reparameterization/reparameterization.py:123
↓ 1 callersMethodget_pid2label
(self, img_names)
lreid/data/datasets/image/ilids.py:109
↓ 1 callersMethodget_pid2label
(self, img_names)
lreid/datasets/ilids.py:106
↓ 1 callersMethodget_pid2label
(self, img_names)
lreid/datasets/ilids.py:231
↓ 1 callersFunctionget_reference_grad
(i, w, ops)
apex/tests/L0/run_amp/test_cache.py:15
↓ 1 callersMethodget_val
(self)
lreid/tools/meter.py:44
↓ 1 callersMethodgt_roidb
(self)
lreid/data/datasets/ps_dataset.py:73
↓ 1 callersMethodhasNVTX
(marker)
apex/apex/pyprof/prof/utility.py:45
↓ 1 callersFunctionhasTileSize
(name)
apex/apex/pyprof/prof/recurrentCell.py:5
↓ 1 callersMethodheader
(self)
apex/apex/pyprof/prof/output.py:99
↓ 1 callersMethodimg
self.img('input_img',t.Tensor(64,64))
lreid/visualization/logger.py:149
↓ 1 callersMethodimg_grid
Turning a batch of images to a grid e.g. input shape: (36, 64, 64) Will be a grid of 6x6, each grid is an image size
lreid/visualization/visdom_show.py:80
↓ 1 callersMethodimg_grid
Turning a batch of images to a grid e.g. input shape: (36, 64, 64) Will be a grid of 6x6, each grid is an image size
lreid/visualization/logger.py:164
↓ 1 callersMethodinit_inference
init_inference()
apex/apex/RNN/RNNBackend.py:225
↓ 1 callersMethodis_better
(self, a, best)
lreid/core/torch16_lr_scheduler.py:637
↓ 1 callersFunctionis_iterable
(maybe_iterable)
apex/apex/RNN/RNNBackend.py:10
↓ 1 callersFunctionjit_dropout_add
(x, residual, prob, is_training)
apex/apex/contrib/multihead_attn/encdec_multihead_attn.py:19
↓ 1 callersFunctionjit_dropout_add
(x, residual, prob, is_training)
apex/apex/contrib/multihead_attn/self_multihead_attn.py:19
↓ 1 callersMethodl2norm
(self, sizea, sizeb, applier, repeat_tensors, in_type, per_tensor)
apex/tests/L0/run_amp/test_multi_tensor_l2norm.py:35
↓ 1 callersMethodload_probes
(self)
lreid/data/datasets/ps_dataset.py:113
↓ 1 callersMethodload_state_dict
Loads a state_dict created by an earlier call to state_dict(). If ``fp16_optimizer_instance`` was constructed from some ``init_optim
apex/apex/fp16_utils/fp16_optimizer.py:230
↓ 1 callersMethodlog
(self, *args, **kwargs)
lreid/visualization/logger.py:43
↓ 1 callersMethodloss_fn_kd
Compute knowledge-distillation (KD) loss given [scores] and [target_scores]. Both [scores] and [target_scores] should be tensors, although [t
lreid/core/base_metagraph_p_s.py:567
↓ 1 callersFunctionmain
(config)
train_test.py:10
↓ 1 callersFunctionmain
()
apex/tests/L0/run_optimizers/test_dist_adam.py:101
↓ 1 callersFunctionmain
(args)
apex/apex/contrib/sparsity/test/toy_problem.py:38
↓ 1 callersFunctionmain
(args)
apex/apex/contrib/sparsity/test/checkpointing_test_part1.py:38
↓ 1 callersFunctionmain
(args)
apex/apex/contrib/sparsity/test/checkpointing_test_reference.py:42
↓ 1 callersFunctionmain
(step, args, model_state_dict, optimizer_state_dict)
apex/apex/contrib/sparsity/test/checkpointing_test_part2.py:38
↓ 1 callersFunctionmain
()
apex/apex/pyprof/prof/prof.py:171
↓ 1 callersFunctionmain
()
apex/apex/pyprof/parse/parse.py:25
↓ 1 callersFunctionmain
()
apex/apex/pyprof/examples/imagenet/imagenet.py:89
↓ 1 callersFunctionmain
()
apex/examples/imagenet/main_amp.py:95
↓ 1 callersFunctionmain
()
lreid/tools/mean_variance.py:16
← previousnext →701–800 of 2,488, ranked by callers