MCPcopy Create free account

hub / github.com/KaiyangZhou/Dassl.pytorch / functions

Functions664 in github.com/KaiyangZhou/Dassl.pytorch

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
Functionactivate_efdmix
(m)
dassl/modeling/ops/efdmix.py:12
Functionactivate_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:12
Functionadjust_learning_rate
r"""Adjust learning rate. Deprecated.
dassl/utils/torchtools.py:160
Methodafter_epoch
(self)
dassl/engine/trainer.py:422
Methodafter_train
(self)
dassl/engine/trainer.py:402
Functionalexnet
(pretrained=True, **kwargs)
dassl/modeling/backbone/alexnet.py:58
Methodbackward
(ctx, grad_output)
dassl/modeling/backbone/efficientnet/utils.py:65
Methodbefore_epoch
(self)
dassl/engine/da/adabn.py:23
Methodbefore_train
(self)
dassl/engine/trainer.py:388
Methodbuild_data_loader
(self)
dassl/engine/dg/daeldg.py:52
Methodbuild_data_loader
(self)
dassl/engine/da/dael.py:53
Methodbuild_data_loader
(self)
dassl/engine/da/cdac.py:80
Methodbuild_data_loader
(self)
dassl/engine/ssl/fixmatch.py:26
Methodbuild_model
(self)
dassl/engine/dg/ddaig.py:27
Methodbuild_model
(self)
dassl/engine/dg/daeldg.py:68
Methodbuild_model
(self)
dassl/engine/dg/crossgrad.py:24
Methodbuild_model
(self)
dassl/engine/da/m3sda.py:49
Methodbuild_model
(self)
dassl/engine/da/dael.py:69
Methodbuild_model
(self)
dassl/engine/da/cdac.py:96
Methodbuild_model
(self)
dassl/engine/da/mcd.py:22
Methodbuild_model
(self)
dassl/engine/da/mme.py:38
Methodcheck_cfg
(self, cfg)
dassl/engine/dg/daeldg.py:48
Methodcheck_cfg
(self, cfg)
dassl/engine/da/adda.py:33
Methodcheck_cfg
(self, cfg)
dassl/engine/da/m3sda.py:45
Methodcheck_cfg
(self, cfg)
dassl/engine/da/dael.py:48
Methodcheck_cfg
(self, cfg)
dassl/engine/da/cdac.py:74
Methodcheck_cfg
(self, cfg)
dassl/engine/da/se.py:27
Methodcheck_cfg
(self, cfg)
dassl/engine/da/adabn.py:18
Methodcheck_cfg
(self, cfg)
dassl/engine/ssl/fixmatch.py:23
Methodcheck_cfg
(self, cfg)
dassl/engine/ssl/mixmatch.py:25
Methodclassname
(self)
dassl/data/datasets/base_dataset.py:44
Methodclassnames
(self)
dassl/data/datasets/base_dataset.py:87
Functioncnn_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
Functioncnn_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
Functioncnn_digitsingle
(**kwargs)
dassl/modeling/backbone/cnn_digitsingle.py:53
Functioncompute_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
Functioncross_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
Functioncrossdomain_efdmix
(m)
dassl/modeling/ops/efdmix.py:22
Functioncrossdomain_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:22
Functioncustom_scheduler
Custom LR Annealing https://arxiv.org/pdf/1409.7495.pdf
dassl/engine/da/cdac.py:18
Functiondeactivate_efdmix
(m)
dassl/modeling/ops/efdmix.py:7
Functiondeactivate_mixstyle
(m)
dassl/modeling/ops/mixstyle.py:7
Methoddomain
(self)
dassl/data/datasets/base_dataset.py:40
Functiondownload_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
Functionefficientnet_b0
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:335
Functionefficientnet_b1
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:340
Functionefficientnet_b2
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:345
Functionefficientnet_b3
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:350
Functionefficientnet_b4
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:355
Functionefficientnet_b5
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:360
Functionefficientnet_b6
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:365
Functionefficientnet_b7
(pretrained=True, **kwargs)
dassl/modeling/backbone/efficientnet/model.py:370
Methodencode
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
Methodevaluate
(self)
dassl/evaluation/evaluator.py:67
Functionf
(img1, v)
dassl/data/transforms/randaugment.py:161
Functionfcn_3x32_gctx
(**kwargs)
dassl/modeling/network/ddaig_fcn.py:283
Functionfcn_3x32_gctx_stn
(image_size=32, **kwargs)
dassl/modeling/network/ddaig_fcn.py:299
Functionfcn_3x64_gctx
(**kwargs)
dassl/modeling/network/ddaig_fcn.py:291
Functionfcn_3x64_gctx_stn
(image_size=224, **kwargs)
dassl/modeling/network/ddaig_fcn.py:316
Methodfdim
(self)
dassl/engine/trainer.py:58
Methodforward
(self, x, y)
dassl/modeling/ops/optimal_transport.py:51
Methodforward
(self, x, y)
dassl/modeling/ops/optimal_transport.py:119
Methodforward
(ctx, input, grad_scaling)
dassl/modeling/ops/reverse_grad.py:8
Methodforward
(self, x, grad_scaling=1.0)
dassl/modeling/ops/reverse_grad.py:29
Methodforward
(self, x)
dassl/modeling/ops/dsbn.py:32
Methodforward
(self, x)
dassl/modeling/ops/efdmix.py:87
Methodforward
(self, x)
dassl/modeling/ops/attention.py:26
Methodforward
(self, x)
dassl/modeling/ops/mixstyle.py:87
Methodforward
(self, x, y)
dassl/modeling/ops/mmd.py:13
Methodforward
(self, input)
dassl/modeling/ops/transnorm.py:57
Methodforward
(self, x, attention_x=None)
dassl/modeling/ops/conv.py:85
Methodforward
(self, *inputs)
dassl/modeling/ops/sequential2.py:9
Methodforward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:38
Methodforward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:79
Methodforward
(self, x)
dassl/modeling/backbone/preact_resnet18.py:113
Methodforward
(self, x)
dassl/modeling/backbone/wide_resnet.py:49
Methodforward
(self, x)
dassl/modeling/backbone/wide_resnet.py:86
Methodforward
(self, x)
dassl/modeling/backbone/wide_resnet.py:133
Methodforward
(self, x)
dassl/modeling/backbone/alexnet.py:45
Methodforward
(self, x)
dassl/modeling/backbone/cnn_digitsdg.py:17
Methodforward
(self, x)
dassl/modeling/backbone/cnn_digitsdg.py:38
Methodforward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:179
Methodforward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:233
Methodforward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:294
Methodforward
(self, x: Tensor)
dassl/modeling/backbone/resnet_dynamic.py:356
← previousnext →401–500 of 664, ranked by callers