Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KaiyangZhou/Dassl.pytorch
/ functions
Functions
664 in github.com/KaiyangZhou/Dassl.pytorch
⨍
Functions
664
◇
Types & classes
136
Method
__len__
(self)
dassl/data/samplers.py:177
Method
__repr__
(self)
dassl/modeling/ops/efdmix.py:76
Method
__repr__
(self)
dassl/modeling/ops/mixstyle.py:76
Method
__repr__
(self)
dassl/data/transforms/autoaugment.py:56
Method
__repr__
(self)
dassl/data/transforms/autoaugment.py:107
Method
__repr__
(self)
dassl/data/transforms/autoaugment.py:158
Method
__setstate__
(self, state)
dassl/optim/radam.py:162
Method
__setstate__
(self, state)
dassl/optim/radam.py:267
Method
__str__
(self)
dassl/utils/meters.py:76
Method
_check_input
(self, x)
dassl/modeling/ops/transnorm.py:123
Method
_check_input
(self, x)
dassl/modeling/ops/transnorm.py:133
Function
_init_func
(m)
dassl/modeling/network/ddaig_fcn.py:14
Function
_init_func
(m)
dassl/utils/torchtools.py:319
Method
_load_data_from_directory
(directory)
dassl/data/datasets/dg/digits_dg.py:62
Function
_reporthook
(count, block_size, total_size)
dassl/utils/tools.py:92
Function
activate_efdmix
(m)
dassl/modeling/ops/efdmix.py:12
Function
activate_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:12
Function
adjust_learning_rate
r"""Adjust learning rate. Deprecated.
dassl/utils/torchtools.py:160
Method
after_epoch
(self)
dassl/engine/trainer.py:422
Method
after_train
(self)
dassl/engine/trainer.py:402
Function
alexnet
(pretrained=True, **kwargs)
dassl/modeling/backbone/alexnet.py:58
Method
backward
(ctx, grad_output)
dassl/modeling/backbone/efficientnet/utils.py:65
Method
before_epoch
(self)
dassl/engine/da/adabn.py:23
Method
before_train
(self)
dassl/engine/trainer.py:388
Method
build_data_loader
(self)
dassl/engine/dg/daeldg.py:52
Method
build_data_loader
(self)
dassl/engine/da/dael.py:53
Method
build_data_loader
(self)
dassl/engine/da/cdac.py:80
Method
build_data_loader
(self)
dassl/engine/ssl/fixmatch.py:26
Method
build_model
(self)
dassl/engine/dg/ddaig.py:27
Method
build_model
(self)
dassl/engine/dg/daeldg.py:68
Method
build_model
(self)
dassl/engine/dg/crossgrad.py:24
Method
build_model
(self)
dassl/engine/da/m3sda.py:49
Method
build_model
(self)
dassl/engine/da/dael.py:69
Method
build_model
(self)
dassl/engine/da/cdac.py:96
Method
build_model
(self)
dassl/engine/da/mcd.py:22
Method
build_model
(self)
dassl/engine/da/mme.py:38
Method
check_cfg
(self, cfg)
dassl/engine/dg/daeldg.py:48
Method
check_cfg
(self, cfg)
dassl/engine/da/adda.py:33
Method
check_cfg
(self, cfg)
dassl/engine/da/m3sda.py:45
Method
check_cfg
(self, cfg)
dassl/engine/da/dael.py:48
Method
check_cfg
(self, cfg)
dassl/engine/da/cdac.py:74
Method
check_cfg
(self, cfg)
dassl/engine/da/se.py:27
Method
check_cfg
(self, cfg)
dassl/engine/da/adabn.py:18
Method
check_cfg
(self, cfg)
dassl/engine/ssl/fixmatch.py:23
Method
check_cfg
(self, cfg)
dassl/engine/ssl/mixmatch.py:25
Method
classname
(self)
dassl/data/datasets/base_dataset.py:44
Method
classnames
(self)
dassl/data/datasets/base_dataset.py:87
Function
cnn_digit5_m3sda
This architecture was used for the Digit-5 dataset in: - Peng et al. Moment Matching for Multi-Source Domain Adaptation. ICCV 20
dassl/modeling/backbone/cnn_digit5_m3sda.py:51
Function
cnn_digitsdg
This architecture was used for DigitsDG dataset in: - Zhou et al. Deep Domain-Adversarial Image Generation for Domain Generalisa
dassl/modeling/backbone/cnn_digitsdg.py:52
Function
cnn_digitsingle
(**kwargs)
dassl/modeling/backbone/cnn_digitsingle.py:53
Function
compute_distance_matrix
A wrapper function for computing distance matrix. Each input matrix has the shape (n_data, feature_dim). Args: input1 (torch.Tensor)
dassl/metrics/distance.py:8
Function
cross_entropy
Cross entropy loss. Args: input (torch.Tensor): logit matrix with shape of (batch, num_classes). target (torch.LongTensor): int l
dassl/modeling/ops/cross_entropy.py:5
Function
crossdomain_efdmix
(m)
dassl/modeling/ops/efdmix.py:22
Function
crossdomain_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:22
Function
custom_scheduler
Custom LR Annealing https://arxiv.org/pdf/1409.7495.pdf
dassl/engine/da/cdac.py:18
Function
deactivate_efdmix
(m)
dassl/modeling/ops/efdmix.py:7
Function
deactivate_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:7
Method
domain
(self)
dassl/data/datasets/base_dataset.py:40
Function
download_url
Download file from a url to a destination. Args: url (str): url to download file. dst (str): destination path.
dassl/utils/tools.py:80
Function
efficientnet_b0
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:335
Function
efficientnet_b1
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:340
Function
efficientnet_b2
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:345
Function
efficientnet_b3
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:350
Function
efficientnet_b4
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:355
Function
efficientnet_b5
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:360
Function
efficientnet_b6
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:365
Function
efficientnet_b7
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:370
Method
encode
Encodes a list of BlockArgs to a list of strings. :param blocks_args: a list of BlockArgs namedtuples of block args :return:
dassl/modeling/backbone/efficientnet/utils.py:348
Method
evaluate
(self)
dassl/evaluation/evaluator.py:67
Function
f
(img1, v)
dassl/data/transforms/randaugment.py:161
Function
fcn_3x32_gctx
(**kwargs)
dassl/modeling/network/ddaig_fcn.py:283
Function
fcn_3x32_gctx_stn
(image_size=32, **kwargs)
dassl/modeling/network/ddaig_fcn.py:299
Function
fcn_3x64_gctx
(**kwargs)
dassl/modeling/network/ddaig_fcn.py:291
Function
fcn_3x64_gctx_stn
(image_size=224, **kwargs)
dassl/modeling/network/ddaig_fcn.py:316
Method
fdim
(self)
dassl/engine/trainer.py:58
Method
forward
(self, x, y)
dassl/modeling/ops/optimal_transport.py:51
Method
forward
(self, x, y)
dassl/modeling/ops/optimal_transport.py:119
Method
forward
(ctx, input, grad_scaling)
dassl/modeling/ops/reverse_grad.py:8
Method
forward
(self, x, grad_scaling=1.0)
dassl/modeling/ops/reverse_grad.py:29
Method
forward
(self, x)
dassl/modeling/ops/dsbn.py:32
Method
forward
(self, x)
dassl/modeling/ops/efdmix.py:87
Method
forward
(self, x)
dassl/modeling/ops/attention.py:26
Method
forward
(self, x)
dassl/modeling/ops/mixstyle.py:87
Method
forward
(self, x, y)
dassl/modeling/ops/mmd.py:13
Method
forward
(self, input)
dassl/modeling/ops/transnorm.py:57
Method
forward
(self, x, attention_x=None)
dassl/modeling/ops/conv.py:85
Method
forward
(self, *inputs)
dassl/modeling/ops/sequential2.py:9
Method
forward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:38
Method
forward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:79
Method
forward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:113
Method
forward
(self, x)
dassl/modeling/backbone/wide_resnet.py:49
Method
forward
(self, x)
dassl/modeling/backbone/wide_resnet.py:86
Method
forward
(self, x)
dassl/modeling/backbone/wide_resnet.py:133
Method
forward
(self, x)
dassl/modeling/backbone/alexnet.py:45
Method
forward
(self, x)
dassl/modeling/backbone/cnn_digitsdg.py:17
Method
forward
(self, x)
dassl/modeling/backbone/cnn_digitsdg.py:38
Method
forward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:179
Method
forward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:233
Method
forward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:294
Method
forward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:356
← previous
next →
401–500 of 664, ranked by callers