MCPcopy Create free account

hub / github.com/TorchSSL/TorchSSL / functions

Functions367 in github.com/TorchSSL/TorchSSL

Method__call__
(self, iter)
models/vat/vat_utils.py:14
Method__call__
(self, iter)
models/freematch/freematch_utils.py:13
Method__call__
(self, iter)
models/uda/uda_utils.py:15
Method__call__
(self, iter)
models/pseudolabel/pseudolabel_utils.py:14
Method__call__
(self, iter)
models/fullysupervised/fullysupervised_utils.py:13
Method__call__
(self, iter)
models/softmatch/softmatch_utils.py:13
Method__getattr__
(self, name)
custom_writer.py:151
Method__getitem__
If strong augmentation is not used, return weak_augment_image, target else: return weak_augment_image, strong
datasets/dataset.py:57
Method__getitem__
(self, index)
datasets/ssl_dataset.py:90
Method__init__
(self, log_dir, enabled=True)
custom_writer.py:17
Method__init__
(self)
utils.py:28
Method__init__
(self, params, lr=required, momentum=0, dampening=0, weight_decay=0, nesterov=False)
train_utils.py:70
Method__init__
(self, tb_dir, file_name, use_tensorboard=False)
train_utils.py:139
Method__init__
(self)
train_utils.py:172
Method__init__
(self, model, decay)
train_utils.py:351
Method__init__
freeze_bn and unfreeze_bn must appear in pairs
train_utils.py:389
Method__init__
Args data: x_data targets: y_data (if not exist, None) num_classes: number of label classes t
datasets/dataset.py:20
Method__init__
(self, root, transform, ulb, num_labels=-1)
datasets/ssl_dataset.py:64
Method__init__
(self, root_path, num_labels=-1, num_class=1000)
datasets/ssl_dataset.py:144
Method__init__
(self, sampler, num_replicas=None, rank=None)
datasets/DistributedProxySampler.py:26
Method__init__
(self, n, m)
datasets/augmentation/randaugment.py:165
Method__init__
(self, value)
models/freematch_entropy/freematch_utils.py:7
Method__init__
class Freematch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network
models/freematch_entropy/freematch.py:24
Method__init__
class Fixmatch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network c
models/fixmatch/fixmatch.py:23
Method__init__
(self, value)
models/fixmatch/fixmatch_utils.py:7
Method__init__
(self, value)
models/mixmatch/mixmatch_utils.py:8
Method__init__
class Mixmatch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network c
models/mixmatch/mixmatch.py:20
Method__init__
class Flexmatch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network
models/flexmatch/flexmatch.py:23
Method__init__
(self, value)
models/flexmatch/flexmatch_utils.py:10
Method__init__
( self, inplanes: int, planes: int, stride: int = 1,
models/nets/resnet50.py:24
Method__init__
( self, inplanes: int, planes: int, stride: int = 1,
models/nets/resnet50.py:79
Method__init__
(self, is_remix=False)
models/nets/resnet50.py:246
Method__init__
(self, num_features, alpha=0.1, eps=1e-05, momentum=0.001, affine=True, track_running_stats=True)
models/nets/wrn.py:17
Method__init__
(self, nb_layers, in_planes, out_planes, block, stride, drop_rate=0.0, activate_before_residual=False)
models/nets/wrn.py:55
Method__init__
(self, first_stride, num_classes, depth=28, widen_factor=2, drop_rate=0.0, is_remix=False)
models/nets/wrn.py:72
Method__init__
(self, first_stride=1, depth=28, widen_factor=2, bn_momentum=0.01, leaky_slope=0.0, dropRate=0.0,
models/nets/wrn.py:132
Method__init__
(self, num_features, alpha=0.1, eps=1e-05, momentum=0.001, affine=True, track_running_stats=True)
models/nets/wrn_var.py:17
Method__init__
(self, nb_layers, in_planes, out_planes, block, stride, drop_rate=0.0, activate_before_residual=False)
models/nets/wrn_var.py:55
Method__init__
(self, first_stride, num_classes, depth=28, widen_factor=2, drop_rate=0.0, is_remix=False)
models/nets/wrn_var.py:72
Method__init__
(self, first_stride=1, depth=28, widen_factor=2, bn_momentum=0.01, leaky_slope=0.0, dropRate=0.0,
models/nets/wrn_var.py:136
Method__init__
class Fixmatch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network c
models/remixmatch/remixmatch.py:21
Method__init__
(self, value)
models/remixmatch/remixmatch_utils.py:7
Method__init__
(self, value)
models/meanteacher/meanteacher_utils.py:7
Method__init__
class Fixmatch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network c
models/meanteacher/meanteacher.py:20
Method__init__
(self, value)
models/pimodel/pimodel_utils.py:7
Method__init__
class PiModel contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network cl
models/pimodel/pimodel.py:17
Method__init__
(self, value)
models/vat/vat_utils.py:8
Method__init__
class Vat contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network class
models/vat/vat.py:18
Method__init__
(self, value)
models/freematch/freematch_utils.py:7
Method__init__
class Freematch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network
models/freematch/freematch.py:24
Method__init__
(self, value)
models/uda/uda_utils.py:9
Method__init__
class Uda contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network class
models/uda/uda.py:20
Method__init__
class PseudoLabel contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone networ
models/pseudolabel/pseudolabel.py:18
Method__init__
(self, value)
models/pseudolabel/pseudolabel_utils.py:8
Method__init__
class FullySupervised contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone ne
models/fullysupervised/fullysupervised.py:16
Method__init__
(self, value)
models/fullysupervised/fullysupervised_utils.py:7
Method__init__
class Freematch contains setter of data_loader, optimizer, and model update methods. Args: net_builder: backbone network
models/softmatch/softmatch.py:24
Method__init__
(self, value)
models/softmatch/softmatch_utils.py:7
Method__iter__
(self)
datasets/DistributedProxySampler.py:30
Method__len__
(self)
datasets/dataset.py:112
Method__setstate__
(self, state)
train_utils.py:85
Function_lr_lambda
_lr_lambda returns a multiplicative factor given an interger parameter epochs. Decaying criteria: last_epoch
train_utils.py:234
Functionaccuracy
Computes the accuracy over the k top predictions for the specified values of k Args output: logits or probs (num of batch, num o
train_utils.py:263
Methodbuild
(self, num_classes)
models/nets/resnet50.py:249
Functionconsistency_loss
(logits_w, y)
models/remixmatch/remixmatch_utils.py:35
Functiondefault_loader
(path)
datasets/ssl_dataset.py:55
Functionepoch2iter
(epoch)
train_utils.py:255
Methodforward
(self, x: Tensor)
models/nets/resnet50.py:51
Methodforward
(self, x: Tensor)
models/nets/resnet50.py:105
Methodforward
(self, x)
models/nets/resnet50.py:241
Methodforward
(self, x)
models/nets/wrn.py:21
Methodforward
(self, x)
models/nets/wrn.py:67
Methodforward
(self, x, ood_test=False)
models/nets/wrn.py:111
Methodforward
(self, x)
models/nets/wrn_var.py:21
Methodforward
(self, x)
models/nets/wrn_var.py:67
Methodforward
(self, x, ood_test=False)
models/nets/wrn_var.py:114
Functionget_imagenet_schedule
(optimizer, num_training_steps, num_labels, batch_size)
train_utils.py:250
Methodget_value
(self, iter)
models/freematch_entropy/freematch_utils.py:10
Methodget_value
(self, iter)
models/fixmatch/fixmatch_utils.py:10
Methodget_value
(self, iter)
models/mixmatch/mixmatch_utils.py:11
Methodget_value
(self, iter)
models/flexmatch/flexmatch_utils.py:13
Methodget_value
(self, iter)
models/remixmatch/remixmatch_utils.py:10
Methodget_value
(self, iter)
models/meanteacher/meanteacher_utils.py:10
Methodget_value
(self, iter)
models/pimodel/pimodel_utils.py:10
Methodget_value
(self, iter)
models/vat/vat_utils.py:11
Methodget_value
(self, iter)
models/freematch/freematch_utils.py:10
Methodget_value
(self, iter)
models/uda/uda_utils.py:12
Methodget_value
(self, iter)
models/pseudolabel/pseudolabel_utils.py:11
Methodget_value
(self, iter)
models/fullysupervised/fullysupervised_utils.py:10
Methodget_value
(self, iter)
models/softmatch/softmatch_utils.py:10
Methodinterleave
(self, xy, batch)
models/freematch_entropy/freematch.py:414
Methodinterleave
(self, xy, batch)
models/fixmatch/fixmatch.py:306
Methodinterleave
(self, xy, batch)
models/flexmatch/flexmatch.py:324
Methodinterleave
(self, xy, batch)
models/meanteacher/meanteacher.py:276
Methodinterleave
(self, xy, batch)
models/pimodel/pimodel.py:268
Methodinterleave
(self, xy, batch)
models/vat/vat.py:263
Methodinterleave
(self, xy, batch)
models/freematch/freematch.py:411
Methodinterleave
(self, xy, batch)
models/uda/uda.py:308
Methodinterleave
(self, xy, batch)
models/pseudolabel/pseudolabel.py:285
Methodinterleave
(self, xy, batch)
models/fullysupervised/fullysupervised.py:253
← previousnext →201–300 of 367, ranked by callers