Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alinlab/L2T-ww
/ functions
Functions
91 in github.com/alinlab/L2T-ww
⨍
Functions
91
◇
Types & classes
17
↓ 12 callers
Function
make_layers
(cfg, batch_norm=False)
models/vgg_cifar.py:159
↓ 10 callers
Method
parameters
(self)
train/meta_optimizers.py:34
↓ 6 callers
Method
step
(self, objective, *args, **kwargs)
train/meta_optimizers.py:49
↓ 4 callers
Function
_get_num_features
(model)
train_l2t_ww.py:18
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1)
models/resnet_ilsvrc.py:122
↓ 4 callers
Method
set_state
(self, state)
train/meta_optimizers.py:45
↓ 3 callers
Function
accuracy
Computes the precision@k for the specified values of k
utils/utils.py:28
↓ 3 callers
Method
get_state
(self)
train/meta_optimizers.py:39
↓ 2 callers
Method
__init__
(self, source_model, pairs)
train_l2t_ww.py:75
↓ 2 callers
Method
__init__
(self, *size)
models/modules.py:4
↓ 2 callers
Method
__init__
(self, block, layers, num_classes=1000, meta=None)
models/resnet_ilsvrc.py:98
↓ 2 callers
Function
check_model
(opt)
check_model.py:5
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
models/resnet_ilsvrc.py:19
↓ 2 callers
Method
forward_with_features
(self, x)
models/vgg_cifar.py:139
↓ 2 callers
Method
meta_backward
(self)
train/meta_optimizers.py:56
↓ 2 callers
Function
read
(filename)
cub200.py:8
↓ 2 callers
Function
validate
(model, loader)
train_l2t_ww.py:240
↓ 1 callers
Method
__init__
(self, features, num_classes=10, init_weights=True)
models/vgg_cifar.py:32
↓ 1 callers
Function
_copy
(state)
train/meta_optimizers.py:7
↓ 1 callers
Method
_initialize_weights
(self)
models/vgg_cifar.py:57
↓ 1 callers
Method
_initialize_weights
(self)
models/vgg_cifar.py:145
↓ 1 callers
Function
check_dataset
(opt)
check_dataset.py:70
↓ 1 callers
Function
check_split
(opt)
check_dataset.py:62
↓ 1 callers
Method
forward
(self, x, idx=-1)
models/vgg_cifar.py:116
↓ 1 callers
Method
forward
(self, x)
models/resnet_ilsvrc.py:139
↓ 1 callers
Function
inner_objective
(data, matching_only=False)
train_l2t_ww.py:249
↓ 1 callers
Function
main
()
dog.py:13
↓ 1 callers
Function
main
()
train_l2t_ww.py:126
↓ 1 callers
Function
main
()
cub200.py:12
↓ 1 callers
Function
outer_objective
(data)
train_l2t_ww.py:278
↓ 1 callers
Function
outer_objective
()
train/meta_optimizers.py:163
↓ 1 callers
Method
reset
(self)
utils/utils.py:15
↓ 1 callers
Function
set_logging_config
(logdir)
utils/utils.py:44
↓ 1 callers
Method
update
(self, val, n=1)
utils/utils.py:21
↓ 1 callers
Method
update_classes
(self)
check_dataset.py:16
Method
__getitem__
(self, idx)
check_dataset.py:22
Method
__getitem__
(self, idx)
check_dataset.py:34
Method
__getitem__
(self, idx)
check_dataset.py:55
Method
__init__
(self, dataset, classes, indices)
check_dataset.py:9
Method
__init__
(self, dataset, classes, indices)
check_dataset.py:29
Method
__init__
(self, dataset, classes, indices)
check_dataset.py:41
Method
__init__
(self, source_model, target_model, pairs)
train_l2t_ww.py:37
Method
__init__
(self, source_model, pairs, weight_type='relu', init=None)
train_l2t_ww.py:94
Method
__init__
(self)
utils/utils.py:12
Method
__init__
(self, features, num_classes=10, init_weights=True, lwf=False, num_source_cls=200, no_ft=False)
models/vgg_cifar.py:74
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, batchnorm_affine=True)
models/modules.py:14
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
models/modules.py:51
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
models/resnet_ilsvrc.py:28
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
models/resnet_ilsvrc.py:60
Method
__init__
(self, n, block, num_classes=10, lwf=False, num_source_cls=200, growing=False)
models/resnet_cifar.py:14
Method
__init__
(self, params, modules, lr=0.1, momentum=0, weight_decay=0, rollback=False, cpu=False)
train/meta_optimizers.py:27
Method
__len__
(self)
check_dataset.py:25
Method
__len__
(self)
check_dataset.py:37
Method
__len__
(self)
check_dataset.py:58
Method
__len__
(self)
train/meta_optimizers.py:98
Function
conv3x3
3x3 convolution with padding
models/modules.py:42
Method
forward
(self, source_features, target_features, weight, beta, loss_weight)
train_l2t_ww.py:46
Method
forward
(self, source_features)
train_l2t_ww.py:84
Method
forward
(self, source_features)
train_l2t_ww.py:108
Method
forward
(self, x)
models/vgg_cifar.py:47
Method
forward
(self, x)
models/modules.py:8
Method
forward
(self, x)
models/modules.py:24
Method
forward
(self, x)
models/modules.py:64
Method
forward
(self, x)
models/resnet_ilsvrc.py:38
Method
forward
(self, x)
models/resnet_ilsvrc.py:73
Method
forward
(self, x, i=None)
models/resnet_cifar.py:74
Method
forward_with_combine_features
(self, x, fs, metanet)
models/vgg_cifar.py:142
Method
forward_with_features
(self, x)
models/resnet_ilsvrc.py:156
Method
forward_with_features
(self, x)
models/resnet_cifar.py:111
Function
inner_objective
()
train/meta_optimizers.py:160
Method
meta_backward_all
(self, objective, outer_args)
train/meta_optimizers.py:101
Function
read
(filename)
dog.py:9
Function
resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet_ilsvrc.py:206
Function
resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet_ilsvrc.py:218
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet_ilsvrc.py:160
Function
resnet32
(num_classes=10, growing=False)
models/resnet_cifar.py:140
Function
resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet_ilsvrc.py:177
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet_ilsvrc.py:194
Function
test_metaSGD
()
train/meta_optimizers.py:149
Function
vgg11
VGG 11-layer model (configuration "A")
models/vgg_cifar.py:221
Function
vgg11_bn
VGG 11-layer model (configuration "A") with batch normalization
models/vgg_cifar.py:229
Function
vgg13
VGG 13-layer model (configuration "B")
models/vgg_cifar.py:237
Function
vgg13_bn
VGG 13-layer model (configuration "B") with batch normalization
models/vgg_cifar.py:245
Function
vgg16
VGG 16-layer model (configuration "D")
models/vgg_cifar.py:253
Function
vgg16_bn
VGG 16-layer model (configuration "D") with batch normalization
models/vgg_cifar.py:261
Function
vgg19
VGG 19-layer model (configuration "E")
models/vgg_cifar.py:269
Function
vgg19_bn
VGG 19-layer model (configuration 'E') with batch normalization
models/vgg_cifar.py:277
Function
vgg4
VGG 4-layer model (configuration_small "A")
models/vgg_cifar.py:188
Function
vgg4_bn
VGG 4-layer model (configuration_small "A") with batch normalization
models/vgg_cifar.py:196
Function
vgg9
VGG 9-layer model (configuration_small "B")
models/vgg_cifar.py:204
Function
vgg9_bn
VGG 9-layer model (configuration_small "B") with batch normalization
models/vgg_cifar.py:212