Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThomasWangY/2024-AAAI-HPT
/ types & classes
Types & classes
203 in github.com/ThomasWangY/2024-AAAI-HPT
⨍
Functions
862
◇
Types & classes
203
↓ 75 callers
Class
SubPolicy
dassl/data/transforms/autoaugment.py:162
↓ 34 callers
Class
Datum
Data instance which defines the basic attributes. Args: impath (str): image path. label (int): class label. domain (int):
dassl/data/datasets/base_dataset.py:12
↓ 23 callers
Class
ResNet
dassl/modeling/backbone/resnet.py:107
↓ 11 callers
Class
SimpleNet
A simple neural network composed of a CNN backbone and optionally a head such as mlp for classification.
dassl/engine/trainer.py:22
↓ 6 callers
Class
Registry
A registry providing name -> object mapping, to support custom modules. To create a registry (e.g. a backbone registry): .. code-block::
dassl/utils/registry.py:7
↓ 5 callers
Class
DataManager
dassl/data/data_manager.py:51
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
clip/model.py:153
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
llms/clip/model_new.py:157
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
llms/clip/model.py:153
↓ 4 callers
Class
AverageMeter
Compute and store the average and current value. Examples:: >>> # 1. Initialize a meter to record loss >>> losses = AverageMeter(
dassl/utils/meters.py:7
↓ 4 callers
Class
Convolution
dassl/modeling/backbone/cnn_digitsdg.py:10
↓ 4 callers
Class
FCN
Fully convolutional network.
dassl/modeling/network/ddaig_fcn.py:163
↓ 4 callers
Class
MemoryEfficientSwish
dassl/modeling/backbone/efficientnet/utils.py:71
↓ 3 callers
Class
NetworkBlock
dassl/modeling/backbone/wide_resnet.py:61
↓ 3 callers
Class
ReverseGrad
Gradient reversal layer. It acts as an identity layer in the forward, but reverses the sign of the gradient in the backward.
dassl/modeling/ops/reverse_grad.py:21
↓ 2 callers
Class
Bottleneck
clip/model.py:10
↓ 2 callers
Class
Bottleneck
llms/clip/model_new.py:10
↓ 2 callers
Class
Bottleneck
llms/clip/model.py:10
↓ 2 callers
Class
InstanceNormalization
Normalize data using per-channel mean and standard deviation. Reference: - Ulyanov et al. Instance normalization: The missing in- gredien
dassl/data/transforms/transforms.py:94
↓ 2 callers
Class
MBConvBlock
Mobile Inverted Residual Bottleneck Block Args: block_args (namedtuple): BlockArgs, see above global_params (namedtuple): Gl
dassl/modeling/backbone/efficientnet/model.py:14
↓ 2 callers
Class
MetricMeter
Store the average and current value for a set of metrics. Examples:: >>> # 1. Create an instance of MetricMeter >>> metric = Metr
dassl/utils/meters.py:45
↓ 2 callers
Class
ResnetBlock
dassl/modeling/network/ddaig_fcn.py:61
↓ 2 callers
Class
Swish
dassl/modeling/backbone/efficientnet/utils.py:77
↓ 2 callers
Class
Transformer
clip/model.py:192
↓ 2 callers
Class
Transformer
llms/clip/model_new.py:195
↓ 2 callers
Class
Transformer
llms/clip/model.py:192
↓ 2 callers
Class
WideResNet
dassl/modeling/backbone/wide_resnet.py:90
↓ 1 callers
Class
AAC
dassl/engine/da/cdac.py:28
↓ 1 callers
Class
Adapter
trainers/hpt_plus.py:133
↓ 1 callers
Class
AlexNet
dassl/modeling/backbone/alexnet.py:13
↓ 1 callers
Class
Attention
Attention from `"Dynamic Domain Generalization" <https://github.com/MetaVisionLab/DDG>`_.
dassl/modeling/ops/attention.py:7
↓ 1 callers
Class
AttentionPool2d
clip/model.py:56
↓ 1 callers
Class
AttentionPool2d
llms/clip/model_new.py:58
↓ 1 callers
Class
AttentionPool2d
llms/clip/model.py:56
↓ 1 callers
Class
CIFAR10Policy
Randomly choose one of the best 25 Sub-policies on CIFAR10. Example: >>> policy = CIFAR10Policy() >>> transformed = policy(image)
dassl/data/transforms/autoaugment.py:60
↓ 1 callers
Class
CLIP
clip/model.py:240
↓ 1 callers
Class
CLIP
llms/clip/model_new.py:243
↓ 1 callers
Class
CLIP
llms/clip/model.py:240
↓ 1 callers
Class
CNN
dassl/modeling/backbone/cnn_digitsingle.py:14
↓ 1 callers
Class
ConstantWarmupScheduler
dassl/optim/lr_scheduler.py:35
↓ 1 callers
Class
Conv2dDynamic
Conv2dDynamic from `"Dynamic Domain Generalization" <https://github.com/MetaVisionLab/DDG>`_.
dassl/modeling/ops/conv.py:8
↓ 1 callers
Class
ConvNet
dassl/modeling/backbone/cnn_digitsdg.py:21
↓ 1 callers
Class
CustomCLIP
trainers/hpt.py:397
↓ 1 callers
Class
CustomCLIP
trainers/hpt_plus.py:391
↓ 1 callers
Class
Cutout
Randomly mask out one or more patches from an image. https://github.com/uoguelph-mlrg/Cutout Args: n_holes (int, optional): number o
dassl/data/transforms/transforms.py:115
↓ 1 callers
Class
Experts
dassl/engine/dg/daeldg.py:14
↓ 1 callers
Class
Experts
dassl/engine/da/dael.py:14
↓ 1 callers
Class
FeatureExtractor
dassl/modeling/backbone/cnn_digit5_m3sda.py:13
↓ 1 callers
Class
GaussianNoise
Add gaussian noise.
dassl/data/transforms/transforms.py:161
↓ 1 callers
Class
Identity
dassl/modeling/backbone/efficientnet/utils.py:252
↓ 1 callers
Class
ImageNetPolicy
Randomly choose one of the best 24 Sub-policies on ImageNet. Example: >>> policy = ImageNetPolicy() >>> transformed = policy(imag
dassl/data/transforms/autoaugment.py:9
↓ 1 callers
Class
LinearWarmupScheduler
dassl/optim/lr_scheduler.py:57
↓ 1 callers
Class
LocNet
Localization network.
dassl/modeling/network/ddaig_fcn.py:115
↓ 1 callers
Class
Logger
Write console output to external text file. Imported from `<https://github.com/Cysu/open-reid/blob/master/reid/utils/logging.py>`_ Args:
dassl/utils/logger.py:11
↓ 1 callers
Class
MLP
dassl/modeling/head/mlp.py:7
↓ 1 callers
Class
MaximumMeanDiscrepancy
dassl/modeling/ops/mmd.py:6
↓ 1 callers
Class
ModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
clip/model.py:93
↓ 1 callers
Class
ModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
llms/clip/model_new.py:94
↓ 1 callers
Class
ModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
llms/clip/model.py:93
↓ 1 callers
Class
MultiheadAttention
r"""Allows the model to jointly attend to information from different representation subspaces. See `Attention Is All You Need <https://arxiv.o
clip/attention.py:19
↓ 1 callers
Class
MultiheadAttention
r"""Allows the model to jointly attend to information from different representation subspaces. See `Attention Is All You Need <https://arxiv.o
llms/clip/attention.py:19
↓ 1 callers
Class
PairClassifiers
dassl/engine/da/m3sda.py:11
↓ 1 callers
Class
PreActResNet
dassl/modeling/backbone/preact_resnet18.py:89
↓ 1 callers
Class
PromptLearner
trainers/hpt.py:221
↓ 1 callers
Class
PromptLearner
trainers/hpt_plus.py:235
↓ 1 callers
Class
Prototypes
dassl/engine/da/cdac.py:41
↓ 1 callers
Class
Prototypes
dassl/engine/da/mme.py:13
↓ 1 callers
Class
QuickGELU
clip/model.py:162
↓ 1 callers
Class
QuickGELU
llms/clip/model_new.py:166
↓ 1 callers
Class
QuickGELU
llms/clip/model.py:162
↓ 1 callers
Class
RAdam
dassl/optim/radam.py:18
↓ 1 callers
Class
RandAugment
dassl/data/transforms/randaugment.py:311
↓ 1 callers
Class
RandAugment2
dassl/data/transforms/randaugment.py:329
↓ 1 callers
Class
RandAugmentFixMatch
dassl/data/transforms/randaugment.py:349
↓ 1 callers
Class
Random2DTranslation
Given an image of (height, width), we resize it to (height*1.125, width*1.125), and then perform random cropping. Args: height (int):
dassl/data/transforms/transforms.py:43
↓ 1 callers
Class
RandomClassSampler
Randomly samples N classes each with K instances to form a minibatch of size N*K. Modified from https://github.com/KaiyangZhou/deep-person-re
dassl/data/samplers.py:117
↓ 1 callers
Class
RandomDomainSampler
Randomly samples N domains each with K images to form a minibatch of size N*K. Args: data_source (list): list of Datums. batc
dassl/data/samplers.py:8
↓ 1 callers
Class
ResNet
dassl/modeling/backbone/resnet_dynamic.py:379
↓ 1 callers
Class
ResidualAttentionBlock
clip/model.py:167
↓ 1 callers
Class
ResidualAttentionBlock
llms/clip/model_new.py:171
↓ 1 callers
Class
ResidualAttentionBlock
llms/clip/model.py:167
↓ 1 callers
Class
SVHNPolicy
Randomly choose one of the best 25 Sub-policies on SVHN. Example: >>> policy = SVHNPolicy() >>> transformed = policy(image)
dassl/data/transforms/autoaugment.py:111
↓ 1 callers
Class
SeqDomainSampler
Sequential domain sampler, which randomly samples K images from each domain to form a minibatch. Args: data_source (list): list of Da
dassl/data/samplers.py:64
↓ 1 callers
Class
SinkhornDivergence
dassl/modeling/ops/optimal_transport.py:35
↓ 1 callers
Class
TextEncoder
trainers/hpt.py:162
↓ 1 callers
Class
TextEncoder
trainers/hpt_plus.py:177
↓ 1 callers
Class
TextEncoderZS
trainers/hpt.py:133
↓ 1 callers
Class
TextEncoderZS
trainers/hpt_plus.py:148
↓ 1 callers
Class
TopoPromptLearner
trainers/hpt.py:296
↓ 1 callers
Class
TopoPromptLearner
trainers/hpt_plus.py:312
↓ 1 callers
Class
VGG
dassl/modeling/backbone/vgg.py:24
↓ 1 callers
Class
VisionEncoder
trainers/hpt.py:69
↓ 1 callers
Class
VisionEncoder
trainers/hpt_plus.py:69
↓ 1 callers
Class
VisionEncoderZS
trainers/hpt.py:36
↓ 1 callers
Class
VisionEncoderZS
trainers/hpt_plus.py:36
↓ 1 callers
Class
VisionPromptLearner
trainers/hpt.py:97
↓ 1 callers
Class
VisionPromptLearner
trainers/hpt_plus.py:97
↓ 1 callers
Class
VisionTransformer
clip/model.py:203
↓ 1 callers
Class
VisionTransformer
llms/clip/model_new.py:206
↓ 1 callers
Class
VisionTransformer
llms/clip/model.py:203
next →
1–100 of 203, ranked by callers