MCPcopy Create free account

hub / github.com/TencentYoutuResearch/PersonReID-YouReID / functions

Functions293 in github.com/TencentYoutuResearch/PersonReID-YouReID

↓ 1 callersMethodget_lr
(self)
utils/epoch_lr.py:209
↓ 1 callersMethodget_pair_feature
(self, x)
models/cacenet.py:75
↓ 1 callersMethodget_pair_label
(self, x)
models/cacenet.py:82
↓ 1 callersMethodinit_distirbuted_mode
(self)
train/BaseTrainer.py:33
↓ 1 callersFunctionjaccard
(a_list,b_list)
models/nafs.py:229
↓ 1 callersMethodload_ckpt
(self, model, optimizer=None, ckpt_path=None)
train/Nafs_Trainer.py:206
↓ 1 callersMethodload_ckpt
(self, model, optimizer=None, ckpt_path=None, add_module_prefix=False)
train/BaseTrainer.py:188
↓ 1 callersMethodload_pretrain
(self, model_path='')
models/backbones/resnet.py:146
↓ 1 callersMethodlogits
(self, x)
models/backbones/senet.py:364
↓ 1 callersFunctionmake_gallery
(root)
dataset/formatdata.py:48
↓ 1 callersFunctionmkdir_if_missing
(directory)
utils/iotools.py:13
↓ 1 callersFunctionmove_ims
Rename and move images to new directory.
tools/transform_format.py:150
↓ 1 callersFunctionnormalization
tools/inference_onnx.cpp:57
↓ 1 callersFunctionone_hot
r"""Converts an integer label x-D tensor to a one-hot (x+1)-D tensor. Args: labels (torch.Tensor) : tensor with labels of shape :math:`(N,
core/loss.py:307
↓ 1 callersMethodpart_label_generate
(self, imgname, part_num, imgh, threshold)
dataset/OccludedData.py:114
↓ 1 callersFunctionpartition_train_val_set
Partition the trainval set into train and val set. Args: im_names: trainval image names parse_im_name: a function to parse id and camera fro
tools/transform_format.py:61
↓ 1 callersFunctionpreprocess
Create 4-dimensional blob from image :param image: input image :param height: the height of the resized input image :param width: the
tools/inference_onnx.py:22
↓ 1 callersFunctionpreprocess
tools/inference_onnx.cpp:39
↓ 1 callersMethodpyramid_forward
(self, feat, pyramid_conv_list, pyramid_fc_list,
models/pyramid.py:168
↓ 1 callersFunctionread_data
Read all images from a directory into a list :param path_list: the list of image path
tools/inference_onnx.py:88
↓ 1 callersMethodread_json
(self, json_path)
dataset/pedes.py:38
↓ 1 callersMethodreset_parameters
(self)
core/loss.py:362
↓ 1 callersFunctionrun_net
Forword propagation for a batch of images. :param inputs: input batch of images :param model_path: path to ReID model :param backend:
tools/inference_onnx.py:71
↓ 1 callersMethodsave_checkpoint
(self, state, checkpoint_dir)
train/Nafs_Trainer.py:215
↓ 1 callersMethodsave_feature
(self, part, data, features, labels, paths)
train/BaseTrainer.py:391
↓ 1 callersFunctionsave_images
Rename and move all used images to a directory.
tools/transform_format.py:175
↓ 1 callersMethodset_epoch
r""" Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each ep
utils/sampler.py:206
↓ 1 callersFunctionsimilarity
Compute the euclidean or cosine distance of all pairs. :param array1: numpy array with shape [m1, n] :param array2: numpy array with sh
tools/inference_onnx.py:111
↓ 1 callersFunctionsimilarity
tools/inference_onnx.cpp:110
↓ 1 callersFunctiontopk
Return the index of top K gallery images most similar to the query images :param query_feat: array of feature vectors of query images :pa
tools/inference_onnx.py:124
↓ 1 callersMethodtrain_body
(self, model, optimizer, lr_scheduler, train_loader, test_loader, unique_image, start_epoch=0)
train/Nafs_Trainer.py:219
↓ 1 callersMethodtrain_body
(self, model, optimizer, lr_scheduler, train_loader, test_loader, start_epoch=0)
train/BaseTrainer.py:221
↓ 1 callersMethodtrain_loop
(self, train_loader, model, optimizer, lr_scheduler, epoch)
train/Nafs_Trainer.py:254
↓ 1 callersMethodtrain_loop
(self, scaler, train_loader, model, optimizer, lr_scheduler, epoch)
train/BaseTrainer.py:259
↓ 1 callersMethodtrain_or_val
(self)
train/Nafs_Trainer.py:330
↓ 1 callersMethodtrain_or_val
(self)
train/BaseTrainer.py:405
↓ 1 callersFunctiontransform
Refactor file directories, rename images and partition the train/val/test set.
tools/transform_format.py:242
↓ 1 callersFunctionvisualization
Visualize the retrieval results with the person ReID model :param topk_idx: the index of ranked gallery images for each query image :para
tools/inference_onnx.py:171
↓ 1 callersFunctionvisualization
tools/inference_onnx.cpp:173
FunctionBatchNorm2d
(num_features)
core/layers.py:308
Method__call__
(self, msg)
utils/logger.py:60
Method__call__
(self, img)
utils/my_transforms.py:27
Method__call__
(self, img)
utils/my_transforms.py:71
Method__call__
(self, img)
utils/my_transforms.py:103
Method__del__
(self)
utils/logger.py:44
Method__enter__
(self)
utils/logger.py:47
Method__exit__
(self, *args)
utils/logger.py:50
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
dataset/OccludedData.py:163
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
dataset/testdata.py:45
Method__getitem__
:param index: :return:
dataset/formatdata.py:300
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
dataset/formatdata.py:349
Method__getitem__
Args: index(int): Index Returns: tuple: (images, labels, captions)
dataset/pedes.py:68
Method__init__
( self, optimizer, milestones, gamma=0.1, warmup_f
utils/epoch_lr.py:34
Method__init__
(self, optimizer, T_0, T_mult=1, eta_min=0, last_epoch=-1)
utils/epoch_lr.py:105
Method__init__
(self, optimizer, T_0, T_end=1, warmup_factor=1.0 / 3, last_epoch=-1)
utils/epoch_lr.py:197
Method__init__
(self, fpath=None, rank='0')
utils/logger.py:34
Method__init__
(self, data_source, batch_size, num_instances, use_tf_sample=False, use_all_sample=False, rnd
utils/sampler.py:119
Method__init__
(self, probability=0.5, sl=0.02, sh=0.4, r1=0.3, mean=None)
utils/my_transforms.py:18
Method__init__
(self, probability=0.5, max_pad_rate=0.4)
utils/my_transforms.py:67
Method__init__
(self, probability=0.5, max_pad_rate=0.2)
utils/my_transforms.py:99
Method__init__
(self, root='/data1/home/fufuyu/dataset/', dataname='market1501', part='train', loader=read_i
dataset/OccludedData.py:195
Method__init__
(self, root='/data1/home/fufuyu/dataset/', dataname='Occluded_REID', part='train', loader=rea
dataset/OccludedData.py:249
Method__init__
(self, root='/data1/home/fufuyu/dataset/', dataname='market1501', loader=read_image, require_
dataset/testdata.py:18
Method__init__
(self, root, dataname, part='train', loader=read_image, require_path=False, size=(384, 128),
dataset/formatdata.py:268
Method__init__
(self, root='/data1/home/fufuyu/dataset/', dataname='market1501', part='train',
dataset/formatdata.py:319
Method__init__
(self, **kwargs)
dataset/pedes.py:11
Method__init__
(self, image_root, split, transform=None)
dataset/pedes.py:25
Method__init__
(self, margin=0.3, normalize_feature=True, reduce='mean')
core/loss.py:30
Method__init__
(self, margin=0.3, normalize_feature=True)
core/loss.py:92
Method__init__
(self, margin=0.3, normalize_feature=True)
core/loss.py:157
Method__init__
(self, margin=0.3, normalize_feature=True, scale=1.)
core/loss.py:174
Method__init__
(self, num_classes, epsilon=0.1, use_gpu=True)
core/loss.py:232
Method__init__
(self, in_features, out_features, s=64.0, m=0.50, easy_margin=False)
core/loss.py:263
Method__init__
(self)
core/loss.py:383
Method__init__
(self, num_classes, epsilon=0.1, use_gpu=True)
core/loss.py:436
Method__init__
(self, num_classes, epsilon=0.2, use_gpu=True, adaptive=True)
core/loss.py:462
Method__init__
(self, args)
core/config.py:12
Method__init__
(self, norm, output_size=1, eps=1e-6)
core/layers.py:27
Method__init__
(self, norm=3, output_size=1, eps=1e-6)
core/layers.py:47
Method__init__
(self)
core/layers.py:64
Method__init__
(self, in_channels, inter_channels=None, bn_layer=False)
core/layers.py:82
Method__init__
(self, in_channels, inter_channels=None)
core/layers.py:148
Method__init__
(self, planes)
core/layers.py:209
Method__init__
(self, planes, batch_size=64, constant_batch=32)
core/layers.py:229
Method__init__
(self, planes, constant_batch=32)
core/layers.py:250
Method__init__
(self, planes)
core/layers.py:334
Method__init__
(self, last_stride=1, use_non_local=False, num_classes=1000
models/mgn.py:11
Method__init__
(self, num_classes=1000, num_layers=50, last_stride=1,
models/baseline.py:9
Method__init__
(self, num_classes=1000, num_layers=50, last_stride=1,
models/pcb.py:10
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/nafs.py:304
Method__init__
(self, block=Bottleneck, layers=[3, 4, 6, 3])
models/nafs.py:341
Method__init__
(self)
models/nafs.py:529
Method__init__
( self, last_stride=1, num_layers = 'resnet50', last_conv_dilation=1,
models/pyramid.py:12
Method__init__
(self, num_classes=1000, num_layers=50, last_stride=1,
models/cacenet.py:9
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/backbones/resnet_ibn_a.py:31
Method__init__
(self, channels, reduction)
models/backbones/senet.py:87
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None)
models/backbones/senet.py:140
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None)
models/backbones/senet.py:166
Method__init__
(self, inplanes, planes, groups, reduction, stride=1, downsample=None, base_width=4)
models/backbones/senet.py:189
Method__init__
(self, inplanes, planes, ibn=False, stride=1, downsample=None, groups=1, base_width=64,
models/backbones/resnet.py:26
← previousnext →101–200 of 293, ranked by callers