MCPcopy Index your code

hub / github.com/TPCD/LifelongReID / functions

Functions2,488 in github.com/TPCD/LifelongReID

↓ 112 callersFunction__Pyx_PyObject_GetAttrStr
lreid/evaluation/rank_cylib/rank_cy.c:21961
↓ 104 callersMethodbackward
(ctx, grad_o)
apex/apex/mlp/mlp.py:19
↓ 88 callersFunction__Pyx_AddTraceback
lreid/evaluation/rank_cylib/rank_cy.c:24259
↓ 62 callersFunction__Pyx_PyObject_Call
lreid/evaluation/rank_cylib/rank_cy.c:22050
↓ 61 callersMethodupdate
(self, val)
lreid/tools/meter.py:14
↓ 58 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
apex/tests/L0/run_optimizers/test_lamb.py:49
↓ 46 callersFunctionzero_array
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:290
↓ 45 callersMethodtypeToBytes
(t)
apex/apex/pyprof/prof/utility.py:11
↓ 43 callersMethodzero_grad
(self, models, optimizer, how_to_zero)
apex/tests/L0/run_amp/test_add_param_group.py:42
↓ 35 callersMethodscale_loss
(self, loss)
apex/apex/amp/opt.py:19
↓ 34 callersFunction__Pyx_PyObject_CallOneArg
lreid/evaluation/rank_cylib/rank_cy.c:22545
↓ 33 callersMethodbackward
(ctx, grad_y)
apex/apex/contrib/groupbn/batch_norm.py:32
↓ 33 callersMethodnumElems
(shape)
apex/apex/pyprof/prof/utility.py:6
↓ 32 callersFunctionto_float
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:80
↓ 30 callersMethodremove
removes reparameterization and backward hook (does not remove forward hook)
apex/apex/reparameterization/reparameterization.py:127
↓ 29 callersFunction__Pyx_Raise
lreid/evaluation/rank_cylib/rank_cy.c:23084
↓ 29 callersFunctioncompare
(desc, inp1, inp2, error)
apex/tests/distributed/synced_batchnorm/single_gpu_unit_test.py:12
↓ 29 callersFunctionread_from_gmem
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:197
↓ 29 callersFunctionread_from_smem
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:215
↓ 29 callersFunctionwrite_json
Writes to a json file.
lreid/utils/tools.py:53
↓ 27 callersFunction__Pyx_RaiseArgtupleInvalid
RaiseArgTupleInvalid */
lreid/evaluation/rank_cylib/rank_cy.c:22201
↓ 27 callersMethodcheck_before_run
Checks if required files exist before going deeper. Args: required_files (str or list): string file name(s).
lreid/data/datasets/dataset.py:249
↓ 27 callersFunctiondiv_up
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:661
↓ 26 callersFunction__Pyx_PyInt_From_long
CIntToPy */
lreid/evaluation/rank_cylib/rank_cy.c:25780
↓ 24 callersFunctionldg_stream
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:108
↓ 23 callersFunction__Pyx_PyObject_Call2Args
PyObjectCall2Args */
lreid/evaluation/rank_cylib/rank_cy.c:22485
↓ 23 callersMethoddownload_dataset
Downloads and extracts dataset. Args: dataset_dir (str): dataset directory. dataset_url (str): url to download datase
lreid/data/datasets/dataset.py:207
↓ 22 callersMethodforward
(ctx, x, s, b, rm, riv, mini_m, mini_riv, ret_cta, mom, epsilon, fuse_relu, is_train, bn_group, my_data, pair_
apex/apex/contrib/groupbn/batch_norm.py:9
↓ 22 callersMethodget_val_numpy
(self)
lreid/tools/meter.py:22
↓ 21 callersFunctionread_json
Reads json file from a path.
lreid/utils/tools.py:46
↓ 20 callersFunction__Pyx_PyObject_to_MemoryviewSlice_ds_long
ObjectToMemviewSlice */
lreid/evaluation/rank_cylib/rank_cy.c:25140
↓ 19 callersMethod_show_info
(pid_list_dict)
lreid/data_loader/dataset.py:155
↓ 19 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
apex/apex/optimizers/fused_sgd.py:138
↓ 18 callersMethod_get_loader
(self, samples, transform, batch_size)
lreid/data_loader/reid_loaders.py:317
↓ 18 callersMethodsave
(self, *args, **kwargs)
lreid/visualization/logger.py:84
↓ 18 callersFunctionwrite_to_gmem
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:247
↓ 17 callersMethodapply
Applies reparametrization to module's `name` parameter and modifies instance attributes as appropriate. `hook_child` adds reparameter
apex/apex/reparameterization/reparameterization.py:57
↓ 17 callersMethodzero_grad
(self)
apex/apex/parallel/LARC.py:72
↓ 16 callersMethod_deactivate
(self)
apex/apex/amp/handle.py:233
↓ 16 callersFunctioncompare
(desc, inp1, inp2, error)
apex/tests/distributed/synced_batchnorm/two_gpu_unit_test.py:9
↓ 16 callersFunctioncompare
(desc, inp1, inp2, error)
apex/tests/distributed/synced_batchnorm/test_groups.py:9
↓ 16 callersMethodzero_grad
(self)
apex/apex/optimizers/fused_sgd.py:113
↓ 15 callersMethodstate_dict
(self)
apex/apex/parallel/LARC.py:66
↓ 15 callersFunctiontime_now
return current time in format of 2000-01-01 12:01:01
lreid/tools/utils.py:12
↓ 15 callersMethodupdate
(self, val, n=1)
apex/tests/L1/common/main_amp.py:476
↓ 15 callersFunctionwrite_to_smem
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:265
↓ 14 callersFunctioncommon_init
(test_case)
apex/tests/L0/run_amp/utils.py:15
↓ 14 callersMethodget_num_pids
Returns the number of training person identities. Each tuple in data contains (img_path(s), pid, camid, dsetid).
lreid/data/datasets/dataset.py:144
↓ 14 callersMethodnormalize
normalize a 2d matrix along axis 1
lreid/evaluation/reid.py:117
↓ 14 callersMethodreset_parameters
(self)
apex/apex/contrib/layer_norm/layer_norm.py:39
↓ 14 callersFunctionrun_layer_test
(test_case, fns, expected, input_shape, test_backward=True)
apex/tests/L0/run_amp/test_basic_casts.py:14
↓ 14 callersFunctionsize_in_bytes
(t)
apex/apex/contrib/test/layer_norm/test_fast_layer_norm.py:26
↓ 14 callersMethodstart
(self)
apex/apex/contrib/test/layer_norm/test_fast_layer_norm.py:17
↓ 14 callersMethodstop
(self)
apex/apex/contrib/test/layer_norm/test_fast_layer_norm.py:19
↓ 13 callersFunction__Pyx_PyObject_IsTrue
lreid/evaluation/rank_cylib/rank_cy.c:26414
↓ 13 callersFunction__pyx_memoryview_fromslice
lreid/evaluation/rank_cylib/rank_cy.c:16612
↓ 13 callersFunctioncompare
(desc, inp1, inp2, error)
apex/tests/distributed/synced_batchnorm/python_single_gpu_unit_test.py:5
↓ 13 callersFunctionmaybe_print
(msg, rank0=False)
apex/apex/amp/_amp_state.py:39
↓ 13 callersFunctionmkdir_if_missing
Creates dirname if it is missing.
lreid/utils/tools.py:21
↓ 12 callersFunction__Pyx_PyObject_to_MemoryviewSlice_ds_float
ObjectToMemviewSlice */
lreid/evaluation/rank_cylib/rank_cy.c:26271
↓ 12 callersFunction__Pyx_RaiseUnboundLocalError
None */
lreid/evaluation/rank_cylib/rank_cy.c:22899
↓ 12 callersFunctionto_python_float
(t)
apex/apex/fp16_utils/fp16util.py:176
↓ 11 callersFunction__Pyx_GetBuiltinName
GetBuiltinName */
lreid/evaluation/rank_cylib/rank_cy.c:21974
↓ 11 callersMethodloss_scale
(self)
apex/apex/amp/scaler.py:73
↓ 11 callersFunctionmultiply
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:320
↓ 11 callersMethodseed
(self)
apex/tests/L0/run_amp/test_checkpointing.py:33
↓ 10 callersFunctionapplier
(value, fn)
apex/apex/amp/_initialize.py:39
↓ 10 callersMethoddata
(self, a)
apex/apex/pyprof/prof/output.py:107
↓ 10 callersMethodget_num_cams
Returns the number of training cameras. Each tuple in data contains (img_path(s), pid, camid, dsetid).
lreid/data/datasets/dataset.py:155
↓ 10 callersFunctionldg
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:102
↓ 10 callersFunctionstg_stream
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:158
↓ 9 callersFunction__Pyx_PyErr_GivenExceptionMatches
lreid/evaluation/rank_cylib/rank_cy.c:23667
↓ 9 callersFunction__Pyx_PyIndex_AsSsize_t
lreid/evaluation/rank_cylib/rank_cy.c:26495
↓ 9 callersMethod__init__
(self, block, list_of_num_layers, list_of_out_dims, flatten=True)
lreid/methods/backbone.py:264
↓ 9 callersMethod_load_images_path
:param folder_dir: :return: [(path, identiti_id, camera_id)]
lreid/data_loader/dataset.py:41
↓ 9 callersFunctionadd
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:310
↓ 9 callersMethodgen_single_type_test
(self, param_type=torch.float, device='cuda')
apex/tests/L0/run_optimizers/test_fused_optimizer.py:54
↓ 9 callersFunctionget_rank
()
apex/tests/L0/run_optimizers/test_dist_adam.py:98
↓ 9 callersMethodis_active
(self)
apex/apex/amp/handle.py:179
↓ 9 callersMethodload_state_dict
(self, state_dict)
apex/apex/parallel/LARC.py:69
↓ 9 callersFunctionmake_dirs
(dir)
lreid/tools/utils.py:17
↓ 8 callersFunction__Pyx_PyInt_From_int
CIntToPy */
lreid/evaluation/rank_cylib/rank_cy.c:26014
↓ 8 callersFunction__Pyx_TypeTest
ExtTypeTest */
lreid/evaluation/rank_cylib/rank_cy.c:23478
↓ 8 callersMethod__init__
(self, optimizer, step_size, gamma=0.1, last_epoch=-1)
lreid/core/torch16_lr_scheduler.py:343
↓ 8 callersFunction__pyx_memviewslice_is_contig
MemviewSliceIsContig */
lreid/evaluation/rank_cylib/rank_cy.c:24311
↓ 8 callersMethod_batch_hard
(self, mat_distance, mat_similarity, more_similar)
lreid/losses/loss.py:73
↓ 8 callersMethod_label2similarity
compute similarity matrix of label1 and label2 :param label1: torch.Tensor, [m] :param label2: torch.Tensor, [n] :return: torch.Tensor, [m, n
lreid/losses/loss.py:60
↓ 8 callersMethodgen_param_optim
(self, tensors, options)
apex/tests/L0/run_optimizers/test_fused_optimizer.py:19
↓ 8 callersMethodget_max_diff
(self, ref_param, tst_param)
apex/tests/L0/run_optimizers/test_fused_optimizer.py:43
↓ 8 callersMethodget_val
(self)
lreid/tools/meter.py:19
↓ 8 callersMethodload_state_dict
Loads the schedulers state. Arguments: state_dict (dict): scheduler state. Should be an object returned from a ca
lreid/core/torch16_lr_scheduler.py:210
↓ 8 callersMethodlog
(self, *args, **kwargs)
lreid/visualization/logger.py:115
↓ 8 callersMethodloss_scale
(self)
apex/apex/fp16_utils/loss_scaler.py:37
↓ 8 callersMethodprocess_dir
(self, dir_path, relabel=False)
lreid/datasets/cuhksysu.py:67
↓ 8 callersMethodprocess_dir
(self, dir_path, relabel=False)
lreid/datasets/cuhksysu.py:275
↓ 8 callersMethodprocess_dir
(self, dir_path, relabel=False)
lreid/datasets/cuhksysu.py:463
↓ 8 callersMethodstep
(self)
apex/apex/parallel/LARC.py:78
↓ 8 callersMethodstep
(self, epoch=None)
lreid/core/torch16_lr_scheduler.py:106
↓ 8 callersMethodupdate
(self, val, n=1)
apex/examples/imagenet/main_amp.py:493
↓ 8 callersFunctionwarn_or_err
(msg)
apex/apex/amp/_amp_state.py:29
next →1–100 of 2,488, ranked by callers