Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TPCD/LifelongReID
/ functions
Functions
2,488 in github.com/TPCD/LifelongReID
⨍
Functions
2,488
◇
Types & classes
338
↳
Endpoints
1
↓ 2 callers
Function
__pyx_f_5lreid_10evaluation_10rank_cylib_7rank_cy_eval_cuhk03_cy
proto*/
lreid/evaluation/rank_cylib/rank_cy.c:3040
↓ 2 callers
Function
__pyx_f_5lreid_10evaluation_10rank_cylib_7rank_cy_eval_market1501_cy
proto*/
lreid/evaluation/rank_cylib/rank_cy.c:4927
↓ 2 callers
Function
__pyx_fatalerror
lreid/evaluation/rank_cylib/rank_cy.c:22121
↓ 2 callers
Function
__pyx_fill_contig_strides_array
lreid/evaluation/rank_cylib/rank_cy.c:18008
↓ 2 callers
Function
__pyx_get_array_memory_extents
OverlappingSlices */
lreid/evaluation/rank_cylib/rank_cy.c:24333
↓ 2 callers
Function
__pyx_memoryview_broadcast_leading
lreid/evaluation/rank_cylib/rank_cy.c:19246
↓ 2 callers
Function
__pyx_memoryview_copy_contents
lreid/evaluation/rank_cylib/rank_cy.c:18667
↓ 2 callers
Function
__pyx_memoryview_copy_new_contig
MemviewSliceCopyTemplate */
lreid/evaluation/rank_cylib/rank_cy.c:25517
↓ 2 callers
Function
__pyx_memoryview_err
lreid/evaluation/rank_cylib/rank_cy.c:18557
↓ 2 callers
Function
__pyx_memoryview_new
lreid/evaluation/rank_cylib/rank_cy.c:13711
↓ 2 callers
Function
__pyx_memoryview_refcount_objects_in_slice
lreid/evaluation/rank_cylib/rank_cy.c:19448
↓ 2 callers
Function
__pyx_memoryview_slice_get_size
lreid/evaluation/rank_cylib/rank_cy.c:17936
↓ 2 callers
Function
__pyx_memoryview_slice_memviewslice
lreid/evaluation/rank_cylib/rank_cy.c:14966
↓ 2 callers
Function
__pyx_unpickle_Enum__set_state
lreid/evaluation/rank_cylib/rank_cy.c:20024
↓ 2 callers
Method
_construct_graph
(self, A, B)
lreid/models/metagraph_fd.py:116
↓ 2 callers
Method
_construct_graph
(self, A, B)
lreid/models/metagraph_fd.py:185
↓ 2 callers
Function
_cp_img_to
Args: src: image path or tuple (for vidreid) dst: target directory rank: int, denoting ranked position, s
lreid/utils/reidtools.py:51
↓ 2 callers
Function
_cp_img_to
Args: src: image path or tuple (for vidreid) dst: target directory rank: int, denoting ranked position, s
lreid/visualization/visualising_rank.py:34
↓ 2 callers
Method
_flatten_grad_mt
(self, scale)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:237
↓ 2 callers
Method
_get_flush_block
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:202
↓ 2 callers
Method
_get_flush_block
(self)
apex/apex/contrib/optimizers/distributed_fused_adam.py:381
↓ 2 callers
Method
_get_flush_block
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:354
↓ 2 callers
Method
_get_flush_block
(self)
apex/apex/contrib/optimizers/distributed_fused_lamb.py:406
↓ 2 callers
Method
_get_loader
(self, samples, transform, batch_size)
lreid/data_loader/incremental_reid_loaders.py:367
↓ 2 callers
Method
_get_single_item
(self, idx)
lreid/data/datasets/ps_dataset.py:81
↓ 2 callers
Method
_init_everything
(self)
apex/apex/contrib/optimizers/distributed_fused_adam.py:373
↓ 2 callers
Method
_init_everything
(self)
apex/apex/contrib/optimizers/distributed_fused_lamb.py:395
↓ 2 callers
Method
_init_is_better
(self, mode, threshold, threshold_mode)
lreid/core/torch16_lr_scheduler.py:652
↓ 2 callers
Method
_pipeline_block_reductions
(self, block_id)
apex/apex/contrib/optimizers/distributed_fused_adam.py:397
↓ 2 callers
Method
_pipeline_block_reductions
(self, block_id)
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:370
↓ 2 callers
Method
_pipeline_block_reductions
(self, block_id)
apex/apex/contrib/optimizers/distributed_fused_lamb.py:422
↓ 2 callers
Function
_replace_pid2relabel
(s_list, pid2relabel_dict, pid_dimension=1)
lreid/data_loader/incremental_datasets.py:114
↓ 2 callers
Method
_test_same_output
(self, batch_size)
apex/tests/L0/run_fused_layer_norm/test_fused_layer_norm.py:16
↓ 2 callers
Function
_unellipsify
lreid/evaluation/rank_cylib/rank_cy.c:13841
↓ 2 callers
Method
_update_scale
(self, skip)
apex/apex/contrib/optimizers/fp16_optimizer.py:142
↓ 2 callers
Function
abs_py_ssize_t
lreid/evaluation/rank_cylib/rank_cy.c:17413
↓ 2 callers
Function
accuracy
Computes the precision@k for the specified values of k
apex/tests/L1/common/main_amp.py:503
↓ 2 callers
Function
accuracy
Computes the precision@k for the specified values of k
apex/examples/imagenet/main_amp.py:520
↓ 2 callers
Method
add_param_group
(self, param_group)
apex/apex/parallel/LARC.py:75
↓ 2 callers
Function
add_wrapper
(mod, fn_name)
apex/apex/pyprof/nvtx/nvmarker.py:67
↓ 2 callers
Method
axpby
(self, sizea, sizeb, applier, repeat_tensors, x_type, y_type, out_type, inplace=False, nhwc=Fals
apex/tests/L0/run_amp/test_multi_tensor_axpby.py:45
↓ 2 callers
Method
bce_common
(self, assertion)
apex/tests/L0/run_amp/test_basic_casts.py:82
↓ 2 callers
Method
bytesFlops
(self)
apex/apex/pyprof/prof/linear.py:148
↓ 2 callers
Method
bytes_flops
(self)
apex/apex/pyprof/prof/conv.py:190
↓ 2 callers
Function
check_optimizers
(optimizers)
apex/apex/amp/_initialize.py:119
↓ 2 callers
Method
close
(self)
apex/apex/pyprof/parse/db.py:59
↓ 2 callers
Method
compute_weight
Computes reparameterized weight value to assign value to module attribute with name `name`. See WeightNorm class for example.
apex/apex/reparameterization/reparameterization.py:28
↓ 2 callers
Function
convertTransToCublasOperation
apex/apex/contrib/csrc/multihead_attn/strided_batched_gemm.h:21
↓ 2 callers
Function
convert_network
Converts a network's parameters and buffers to dtype.
apex/apex/fp16_utils/fp16util.py:60
↓ 2 callers
Method
copy_model_and_frozen
(self, model_name='tasknet')
lreid/core/base_metagraph_p_s.py:542
↓ 2 callers
Function
copy_strided_to_strided
lreid/evaluation/rank_cylib/rank_cy.c:17906
↓ 2 callers
Method
correct
(self, x)
lreid/methods/meta_template.py:43
↓ 2 callers
Method
cosine_dist
compute cosine distance between two martrix x and y with sizes (n1, d), (n2, d)
lreid/evaluation/reid.py:115
↓ 2 callers
Function
cuChanOnlineSum
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:22
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/reduction.py:45
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/reduction.py:99
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/reduction.py:133
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/loss.py:55
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/dropout.py:41
↓ 2 callers
Method
elems
(self)
apex/apex/pyprof/prof/normalization.py:40
↓ 2 callers
Method
euclidean_dist
compute eculidean distance between two martrix x and y with sizes (n1, d), (n2, d)
lreid/evaluation/reid.py:128
↓ 2 callers
Method
evaluate
compute distance matrix
lreid/evaluation/reid.py:34
↓ 2 callers
Function
fast_test_p_s
(config, base, loaders, current_step, if_test_forget=True)
lreid/operation/test_p_s.py:6
↓ 2 callers
Function
flatten
(bucket)
apex/apex/parallel/distributed.py:25
↓ 2 callers
Function
flatten_list
flatten_list
apex/apex/RNN/RNNBackend.py:14
↓ 2 callers
Function
foo
(mod, op, d)
apex/apex/pyprof/prof/prof.py:56
↓ 2 callers
Function
foo
(args, name)
apex/apex/pyprof/nvtx/nvmarker.py:165
↓ 2 callers
Method
foo
(self, cadena, pformat)
apex/apex/pyprof/prof/output.py:77
↓ 2 callers
Method
forward
(self, x)
lreid/methods/maml.py:26
↓ 2 callers
Method
gen_mixed_grad
(self, ref_param, tst_param, scale=1.0)
apex/tests/L0/run_optimizers/test_fused_optimizer.py:36
↓ 2 callers
Method
gen_test_inputs
(self, N, T, H, smoothing, padding_idx)
apex/apex/contrib/test/test_label_smoothing.py:40
↓ 2 callers
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:102
↓ 2 callers
Method
get_momentums
(self, params)
apex/apex/contrib/optimizers/fused_sgd.py:98
↓ 2 callers
Method
get_names
(self, fpath)
lreid/data/datasets/video/mars.py:76
↓ 2 callers
Method
get_str
(self)
lreid/tools/meter.py:64
↓ 2 callers
Method
get_value_dict
(self)
lreid/tools/meter.py:54
↓ 2 callers
Function
handle_item
(fieldarg, content)
apex/docs/source/conf.py:211
↓ 2 callers
Function
has_old_rnns
()
apex/apex/amp/rnn_compat.py:24
↓ 2 callers
Function
hook_batchnormNd
(m, x, y)
lreid/utils/model_complexity.py:173
↓ 2 callers
Method
img
self.img('input_img',t.Tensor(64,64))
lreid/visualization/visdom_show.py:64
↓ 2 callers
Function
import_flatten_impl
()
apex/apex/parallel/distributed.py:13
↓ 2 callers
Function
info
(name, param, val)
apex/tests/distributed/DDP/ddp_race_condition_test.py:58
↓ 2 callers
Function
isscalar
(arg)
apex/apex/pyprof/nvtx/nvmarker.py:159
↓ 2 callers
Function
issequence
(arg)
apex/apex/pyprof/nvtx/nvmarker.py:162
↓ 2 callers
Function
label_smoothing_raw
(x, target, padding_idx, smoothing)
apex/apex/contrib/test/test_label_smoothing.py:10
↓ 2 callers
Function
load_checkpoint
r"""Loads checkpoint. ``UnicodeDecodeError`` can be well handled, which means python2-saved files can be read from python3. Args:
lreid/utils/torchtools.py:61
↓ 2 callers
Method
load_state_dict
(self, state_dict)
apex/apex/amp/opt.py:96
↓ 2 callers
Function
master_params_to_model_params
Copy master parameters to model parameters. Args: model_params: List of model parameters created by :func:`prep_param_lists`.
apex/apex/fp16_utils/fp16util.py:158
↓ 2 callers
Method
millis
(self)
apex/apex/contrib/test/layer_norm/test_fast_layer_norm.py:23
↓ 2 callers
Method
new_like
new_like()
apex/apex/RNN/RNNBackend.py:274
↓ 2 callers
Method
params
(self)
apex/apex/pyprof/prof/blas.py:319
↓ 2 callers
Function
patch_forward
(old_fwd)
apex/apex/amp/_initialize.py:194
↓ 2 callers
Method
plot
self.plot('loss',1.00)
lreid/visualization/visdom_show.py:52
↓ 2 callers
Method
preload
(self)
apex/tests/L1/common/main_amp.py:275
↓ 2 callers
Method
preload
(self)
apex/examples/imagenet/main_amp.py:277
↓ 2 callers
Method
process_dir
(self, dir_path)
lreid/data/datasets/image/sensereid.py:60
↓ 2 callers
Method
process_dir
(self, dir_path)
lreid/datasets/sensereid.py:47
↓ 2 callers
Method
process_dir
(self, dir_path)
lreid/datasets/sensereid.py:110
↓ 2 callers
Function
read_im
(im_path)
lreid/visualization/visdom_show.py:166
↓ 2 callers
Function
read_image
Reads image from path using ``PIL.Image``. Args: path (str): path to an image. Returns: PIL image
lreid/utils/tools.py:97
← previous
next →
301–400 of 2,488, ranked by callers