MCPcopy Create free account

hub / github.com/Alioth2000/Hoss-ReID / types & classes

Types & classes46 in github.com/Alioth2000/Hoss-ReID

↓ 4 callersClassImageDataset
datasets/bases.py:82
↓ 3 callersClassAverageMeter
Computes and stores the average and current value
utils/meter.py:1
↓ 3 callersClassTransReID
Transformer-based Object Re-Identification
model/backbones/vit_pytorch.py:292
↓ 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 callersClassHybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_transoss.py:146
↓ 2 callersClassPatchEmbed_overlap
Image to Patch Embedding with overlapping patches
model/backbones/vit_transoss.py:187
↓ 2 callersClassR1_mAP_eval
utils/metrics.py:91
↓ 2 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
↓ 2 callersClassTripletLoss
Triplet loss using HARDER example mining, modified based on original triplet loss using hard example mining
loss/triplet_loss.py:107
↓ 1 callersClassAMSoftmax
loss/metric_learning.py:166
↓ 1 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
↓ 1 callersClassAttention
model/backbones/vit_transoss.py:75
↓ 1 callersClassAttention
model/backbones/vit_pytorch.py:140
↓ 1 callersClassBackbone
model/make_model.py:52
↓ 1 callersClassBlock
model/backbones/vit_transoss.py:103
↓ 1 callersClassBlock
model/backbones/vit_pytorch.py:168
↓ 1 callersClassCircleLoss
loss/metric_learning.py:45
↓ 1 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
↓ 1 callersClassCosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
solver/cosine_lr.py:17
↓ 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_transoss.py:45
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model/backbones/vit_pytorch.py:65
↓ 1 callersClassHybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_pytorch.py:211
↓ 1 callersClassMlp
model/backbones/vit_transoss.py:56
↓ 1 callersClassMlp
model/backbones/vit_pytorch.py:121
↓ 1 callersClassPatchEmbed_overlap
Image to Patch Embedding with overlapping patches
model/backbones/vit_pytorch.py:252
↓ 1 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:8
↓ 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:112
↓ 1 callersClassResNet
model/backbones/resnet.py:84
↓ 1 callersClassTransOSS
# Transformer-based Cross-modal Ship Re-Identification
model/backbones/vit_transoss.py:237
↓ 1 callersClassWHPatchEmbedding
model/backbones/vit_transoss.py:227
↓ 1 callersClassbuild_transformer
model/make_model.py:125
ClassArcFace
loss/arcface.py:8
ClassBaseDataset
Base class of reid dataset
datasets/bases.py:36
ClassBaseImageDataset
Base class of image reid dataset
datasets/bases.py:60
ClassBasicBlock
model/backbones/resnet.py:13
ClassBottleneck
model/backbones/resnet.py:45
ClassCircleLoss
loss/arcface.py:52
ClassContrastiveLoss
loss/metric_learning.py:9
ClassHOSS
HOSS dataset
datasets/hoss.py:7
ClassLabelSmoothingCrossEntropy
NLL loss with label smoothing.
loss/softmax_loss.py:36
ClassPatchEmbed
Image to Patch Embedding
model/backbones/vit_transoss.py:123
ClassPatchEmbed
Image to Patch Embedding
model/backbones/vit_pytorch.py:188
ClassPretrain
datasets/pretrain.py:11
ClassScheduler
Parameter Scheduler Base Class A scheduler base class that can be used to schedule any optimizer parameter groups. Unlike the builtin PyTorc
solver/scheduler.py:6
ClassWarmupMultiStepLR
solver/lr_scheduler.py:14