MCPcopy Create free account

hub / github.com/CDTrans/CDTrans / types & classes

Types & classes70 in github.com/CDTrans/CDTrans

↓ 11 callersClassImageDataset
datasets/bases.py:70
↓ 9 callersClassAverageMeter
Computes and stores the average and current value
utils/meter.py:1
↓ 6 callersClassAugmentOp
datasets/autoaugment.py:317
↓ 4 callersClassClass_accuracy_eval
utils/metrics.py:130
↓ 4 callersClassR1_mAP_eval
utils/metrics.py:189
↓ 3 callersClassBlock
model/backbones/vit_pytorch.py:170
↓ 3 callersClassHybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_pytorch.py:212
↓ 3 callersClassResNet
model/backbones/se_resnet_ibn_a.py:106
↓ 3 callersClassResNet_IBN
model/backbones/resnet_ibn_a.py:77
↓ 2 callersClassAMSoftmax
loss/metric_learning.py:166
↓ 2 callersClassArcface
r"""Implement of large margin arc distance: : Args: in_features: size of each input sample out_features: size of each
loss/metric_learning.py:76
↓ 2 callersClassCenterLoss
Center loss. Reference: Wen et al. A Discriminative Feature Learning Approach for Deep Face Recognition. ECCV 2016. Args: num_cl
loss/center_loss.py:7
↓ 2 callersClassCircleLoss
loss/metric_learning.py:45
↓ 2 callersClassCosface
r"""Implement of large margin cosine distance: : Args: in_features: size of each input sample out_features: size of each output sa
loss/metric_learning.py:124
↓ 2 callersClassPatchEmbed
Image to Patch Embedding
model/backbones/vit_pytorch.py:190
↓ 2 callersClassR1_mAP_draw_figure
utils/metrics.py:262
↓ 2 callersClassRandomIdentitySampler
Randomly sample N identities, then for each identity, randomly sample K instances, therefore batch size is N*K. Args: - data_source (
datasets/sampler.py:7
↓ 2 callersClassResNet
model/backbones/resnet.py:84
↓ 2 callersClassSELayer
model/backbones/se_module.py:4
↓ 2 callersClassTransReID
Vision Transformer with support for patch or hybrid CNN input stage
model/backbones/vit_pytorch.py:526
↓ 2 callersClassTransReID
Vision Transformer with support for patch or hybrid CNN input stage
model/backbones/vit_pytorch_uda.py:381
↓ 1 callersClassArcFace
loss/arcface.py:8
↓ 1 callersClassAttention
model/backbones/vit_pytorch.py:140
↓ 1 callersClassAttention_3_branches
model/backbones/vit_pytorch_uda.py:139
↓ 1 callersClassAugMixAugment
AugMix Transform Adapted and improved from impl here: https://github.com/google-research/augmix/blob/master/imagenet.py From paper: 'AugMix:
datasets/autoaugment.py:696
↓ 1 callersClassAutoAugment
datasets/autoaugment.py:495
↓ 1 callersClassBackbone
model/make_model.py:35
↓ 1 callersClassBlock_3_branches
model/backbones/vit_pytorch_uda.py:209
↓ 1 callersClassCosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/alle
solver/cosine_lr.py:15
↓ 1 callersClassCrossEntropyLabelSmooth
Cross entropy loss with label smoothing regularizer. Reference: Szegedy et al. Rethinking the Inception Architecture for Computer Vision. CVP
loss/softmax_loss.py:4
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model/backbones/vit_pytorch.py:64
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model/backbones/vit_pytorch_uda.py:64
↓ 1 callersClassHybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_pytorch_uda.py:264
↓ 1 callersClassIBN
model/backbones/resnet_ibn_a.py:18
↓ 1 callersClassIBN
model/backbones/se_resnet_ibn_a.py:13
↓ 1 callersClassMlp
model/backbones/vit_pytorch.py:121
↓ 1 callersClassMlp
model/backbones/vit_pytorch_uda.py:120
↓ 1 callersClassPatchEmbed_stride
Image to Patch Embedding
model/backbones/vit_pytorch.py:485
↓ 1 callersClassPatchEmbed_stride
Image to Patch Embedding
model/backbones/vit_pytorch_uda.py:302
↓ 1 callersClassRandAugment
datasets/autoaugment.py:610
↓ 1 callersClassRandomErasing
Randomly selects a rectangle region in an image and erases its pixels. 'Random Erasing Data Augmentation' by Zhong et al. See https:/
datasets/preprocessing.py:5
↓ 1 callersClassRandomIdentitySampler_DDP
Randomly sample N identities, then for each identity, randomly sample K instances, therefore batch size is N*K. Args: - data_source (
datasets/sampler_ddp.py:111
↓ 1 callersClassbuild_transformer
model/make_model.py:164
↓ 1 callersClassbuild_uda_transformer
model/make_model.py:271
ClassBaseDataset
Base class of reid dataset
datasets/bases.py:25
ClassBaseImageDataset
Base class of image reid dataset
datasets/bases.py:50
ClassBasicBlock
model/backbones/resnet.py:13
ClassBottleneck
model/backbones/resnet.py:45
ClassBottleneck_IBN
model/backbones/resnet_ibn_a.py:35
ClassCircleLoss
loss/arcface.py:52
ClassContrastiveLoss
loss/metric_learning.py:9
ClassConvStemEmbed_stride
Image to Patch Embedding
model/backbones/vit_pytorch_uda.py:341
ClassDomainNet
Office Home
datasets/domainnet.py:15
ClassMMD_loss
loss/mmd_loss.py:5
ClassOURAPI
datasets/ourapi.py:16
ClassOffice
Office
datasets/office.py:15
ClassOfficeHome
Office Home
datasets/office_home.py:15
ClassPatchEmbed
Image to Patch Embedding
model/backbones/vit_pytorch_uda.py:242
ClassR1_mAP
utils/metrics.py:310
ClassR1_mAP_Pseudo
utils/metrics.py:399
ClassR1_mAP_query_mining
utils/metrics.py:469
ClassR1_mAP_save_feature
utils/metrics.py:233
ClassSEBasicBlock
model/backbones/se_resnet_ibn_a.py:30
ClassSEBottleneck
model/backbones/se_resnet_ibn_a.py:63
ClassScheduler
Parameter Scheduler Base Class A scheduler base class that can be used to schedule any optimizer parameter groups. Unlike the builtin PyTorch
solver/scheduler.py:6
ClassTripletLoss
Triplet loss using HARDER example mining, modified based on original triplet loss using hard example mining
loss/triplet_loss.py:107
ClassVisDA
Office Home
datasets/visda.py:15
ClassVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
model/backbones/vit_pytorch.py:246
ClassVisionTransformer_mask
Vision Transformer with support for patch or hybrid CNN input stage
model/backbones/vit_pytorch.py:363
ClassWarmupMultiStepLR
solver/lr_scheduler.py:15