Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alioth2000/Hoss-ReID
/ types & classes
Types & classes
46 in github.com/Alioth2000/Hoss-ReID
⨍
Functions
199
◇
Types & classes
46
↓ 4 callers
Class
ImageDataset
datasets/bases.py:82
↓ 3 callers
Class
AverageMeter
Computes and stores the average and current value
utils/meter.py:1
↓ 3 callers
Class
TransReID
Transformer-based Object Re-Identification
model/backbones/vit_pytorch.py:292
↓ 2 callers
Class
CenterLoss
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 callers
Class
HybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_transoss.py:146
↓ 2 callers
Class
PatchEmbed_overlap
Image to Patch Embedding with overlapping patches
model/backbones/vit_transoss.py:187
↓ 2 callers
Class
R1_mAP_eval
utils/metrics.py:91
↓ 2 callers
Class
RandomErasing
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 callers
Class
TripletLoss
Triplet loss using HARDER example mining, modified based on original triplet loss using hard example mining
loss/triplet_loss.py:107
↓ 1 callers
Class
AMSoftmax
loss/metric_learning.py:166
↓ 1 callers
Class
Arcface
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 callers
Class
Attention
model/backbones/vit_transoss.py:75
↓ 1 callers
Class
Attention
model/backbones/vit_pytorch.py:140
↓ 1 callers
Class
Backbone
model/make_model.py:52
↓ 1 callers
Class
Block
model/backbones/vit_transoss.py:103
↓ 1 callers
Class
Block
model/backbones/vit_pytorch.py:168
↓ 1 callers
Class
CircleLoss
loss/metric_learning.py:45
↓ 1 callers
Class
Cosface
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 callers
Class
CosineLRScheduler
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 callers
Class
CrossEntropyLabelSmooth
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 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model/backbones/vit_transoss.py:45
↓ 1 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
model/backbones/vit_pytorch.py:65
↓ 1 callers
Class
HybridEmbed
CNN Feature Map Embedding Extract feature map from CNN, flatten, project to embedding dim.
model/backbones/vit_pytorch.py:211
↓ 1 callers
Class
Mlp
model/backbones/vit_transoss.py:56
↓ 1 callers
Class
Mlp
model/backbones/vit_pytorch.py:121
↓ 1 callers
Class
PatchEmbed_overlap
Image to Patch Embedding with overlapping patches
model/backbones/vit_pytorch.py:252
↓ 1 callers
Class
RandomIdentitySampler
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 callers
Class
RandomIdentitySampler_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 callers
Class
ResNet
model/backbones/resnet.py:84
↓ 1 callers
Class
TransOSS
# Transformer-based Cross-modal Ship Re-Identification
model/backbones/vit_transoss.py:237
↓ 1 callers
Class
WHPatchEmbedding
model/backbones/vit_transoss.py:227
↓ 1 callers
Class
build_transformer
model/make_model.py:125
Class
ArcFace
loss/arcface.py:8
Class
BaseDataset
Base class of reid dataset
datasets/bases.py:36
Class
BaseImageDataset
Base class of image reid dataset
datasets/bases.py:60
Class
BasicBlock
model/backbones/resnet.py:13
Class
Bottleneck
model/backbones/resnet.py:45
Class
CircleLoss
loss/arcface.py:52
Class
ContrastiveLoss
loss/metric_learning.py:9
Class
HOSS
HOSS dataset
datasets/hoss.py:7
Class
LabelSmoothingCrossEntropy
NLL loss with label smoothing.
loss/softmax_loss.py:36
Class
PatchEmbed
Image to Patch Embedding
model/backbones/vit_transoss.py:123
Class
PatchEmbed
Image to Patch Embedding
model/backbones/vit_pytorch.py:188
Class
Pretrain
datasets/pretrain.py:11
Class
Scheduler
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
Class
WarmupMultiStepLR
solver/lr_scheduler.py:14