Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HobbitLong/RepDistiller
/ functions
Functions
213 in github.com/HobbitLong/RepDistiller
⨍
Functions
213
◇
Types & classes
58
Method
__init__
(self, in_planes, planes, stride=1, is_last=False)
models/resnetv2.py:45
Method
__init__
(self, groups=2)
models/ShuffleNetv2.py:10
Method
__init__
(self, ratio)
models/ShuffleNetv2.py:22
Method
__init__
(self, in_channels, split_ratio=0.5, is_last=False)
models/ShuffleNetv2.py:32
Method
__init__
(self, net_size, num_classes=10)
models/ShuffleNetv2.py:103
Method
__init__
(self, dim_in, n_label=10, p=0.1)
models/classifier.py:23
Method
__init__
(self, nb_layers, in_planes, out_planes, block, stride, dropRate=0.0)
models/wrn.py:42
Method
__init__
(self, depth, num_classes, widen_factor=1, dropRate=0.0)
models/wrn.py:57
Method
__init__
(self, t_shape, k=0.5, use_bn=False)
models/util.py:9
Method
__init__
(self, s_shape, t_shape, k=0.5, use_bn=True)
models/util.py:45
Method
__init__
(self, s_shapes, t_shapes)
models/util.py:67
Method
__init__
(self, s_shapes, t_shapes)
models/util.py:95
Method
__init__
(self, s_shape, t_shape, use_relu=True)
models/util.py:133
Method
__init__
(self, dim_in=1024, dim_out=1024)
models/util.py:159
Method
__init__
(self, dim_in=1024, dim_out=128)
models/util.py:187
Method
__init__
(self, dim_in=1024, dim_out=128)
models/util.py:199
Method
__init__
(self, power=2)
models/util.py:215
Method
__init__
(self)
models/util.py:227
Method
__init__
(self, layer=0, dim_out=128, pool_type='avg')
models/util.py:236
Method
__init__
(self, cfg, batch_norm=False, num_classes=1000)
models/vgg.py:25
Method
__init__
(self, inp, oup, stride, expand_ratio)
models/mobilenetv2.py:32
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, is_last=False)
models/resnet.py:27
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, is_last=False)
models/resnet.py:63
Method
__init__
(self, groups)
models/ShuffleNetv1.py:10
Method
__init__
(self, cfg, num_classes=10)
models/ShuffleNetv1.py:57
Function
adjust_learning_rate_new
new learning rate schedule according to RotNet
helper/util.py:7
Method
conv1x1
(in_channels, out_channels, stride=1)
distiller_zoo/VID.py:20
Method
forward
(self, f_s, f_t)
distiller_zoo/RKD.py:15
Method
forward
(self, g_s, g_t)
distiller_zoo/FSP.py:19
Method
forward
(self, g_s, g_t)
distiller_zoo/KDSVD.py:17
Method
forward
(self, f_s, f_t)
distiller_zoo/FT.py:14
Method
forward
(self, f_s, f_t)
distiller_zoo/PKT.py:13
Method
forward
(self, g_s, g_t)
distiller_zoo/NST.py:13
Method
forward
(self, f_s, f_t)
distiller_zoo/CC.py:14
Method
forward
(self, g_s, g_t)
distiller_zoo/AT.py:15
Method
forward
(self, g_s, g_t)
distiller_zoo/AB.py:16
Method
forward
(self, input, target)
distiller_zoo/VID.py:38
Method
forward
(self, f_s, f_t)
distiller_zoo/FitNet.py:12
Method
forward
(self, y_s, y_t)
distiller_zoo/KD.py:13
Method
forward
(self, g_s, g_t)
distiller_zoo/SP.py:13
Method
forward
(self, v1, v2, y, idx=None)
crd/memory.py:23
Method
forward
Args: f_s: the feature of student network, size [batch_size, s_dim] f_t: the feature of teacher network, size [batch_
crd/criterion.py:31
Method
forward
(self, x)
crd/criterion.py:59
Method
forward
(self, x)
crd/criterion.py:86
Method
forward
(self, x)
crd/criterion.py:99
Method
forward
(self, x)
models/resnetv2.py:30
Method
forward
(self, x)
models/resnetv2.py:62
Method
forward
(self, x, is_feat=False, preact=False)
models/resnetv2.py:141
Method
forward
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
models/ShuffleNetv2.py:14
Method
forward
(self, x)
models/ShuffleNetv2.py:26
Method
forward
(self, x)
models/ShuffleNetv2.py:48
Method
forward
(self, x)
models/ShuffleNetv2.py:88
Method
forward
(self, x, is_feat=False, preact=False)
models/ShuffleNetv2.py:140
Method
forward
(self, x)
models/classifier.py:17
Method
forward
(self, x)
models/classifier.py:34
Method
forward
(self, x)
models/wrn.py:29
Method
forward
(self, x)
models/wrn.py:52
Method
forward
(self, x, is_feat=False, preact=False)
models/wrn.py:103
Method
forward
(self, f_s, is_factor=False)
models/util.py:36
Method
forward
(self, f_s)
models/util.py:61
Method
forward
(self, g_s)
models/util.py:85
Method
forward
(self, g_s)
models/util.py:123
Method
forward
(self, x)
models/util.py:149
Method
forward
(self, x)
models/util.py:164
Method
forward
(self, x)
models/util.py:178
Method
forward
(self, x)
models/util.py:191
Method
forward
(self, x)
models/util.py:206
Method
forward
(self, x)
models/util.py:219
Method
forward
(self, feat)
models/util.py:230
Method
forward
(self, x)
models/util.py:267
Method
forward
(self, x, is_feat=False, preact=False)
models/vgg.py:64
Method
forward
(self, x)
models/mobilenetv2.py:56
Method
forward
(self, x, is_feat=False, preact=False)
models/mobilenetv2.py:132
Method
forward
(self, x)
models/resnet.py:38
Method
forward
(self, x)
models/resnet.py:77
Method
forward
(self, x, is_feat=False, preact=False)
models/resnet.py:178
Method
forward
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
models/ShuffleNetv1.py:14
Method
forward
(self, x)
models/ShuffleNetv1.py:41
Method
forward
(self, x, is_feat=False, preact=False)
models/ShuffleNetv1.py:95
Method
get_bn_before_relu
(self)
models/ShuffleNetv2.py:137
Method
get_bn_before_relu
(self)
models/ShuffleNetv1.py:92
Function
get_dataloader_sample
Data Loader for ImageNet
dataset/imagenet.py:134
Method
get_feat_modules
(self)
models/resnetv2.py:106
Method
get_feat_modules
(self)
models/ShuffleNetv2.py:128
Method
get_feat_modules
(self)
models/wrn.py:88
Method
get_feat_modules
(self)
models/mobilenetv2.py:126
Method
get_feat_modules
(self)
models/resnet.py:154
Method
get_feat_modules
(self)
models/ShuffleNetv1.py:83
Function
get_imagenet_dataloader
Data Loader for imagenet
dataset/imagenet.py:180
Function
get_test_loader
get the test data loader
dataset/imagenet.py:106
Function
resnet110
(**kwargs)
models/resnet.py:229
Function
resnet14
(**kwargs)
models/resnet.py:209
Function
resnet20
(**kwargs)
models/resnet.py:213
Function
resnet32
(**kwargs)
models/resnet.py:217
Function
resnet32x4
(**kwargs)
models/resnet.py:237
Function
resnet44
(**kwargs)
models/resnet.py:221
Function
resnet56
(**kwargs)
models/resnet.py:225
Function
resnet8
(**kwargs)
models/resnet.py:205
Function
train_distill
One epoch distillation
helper/loops.py:68
Function
train_vanilla
vanilla training
helper/loops.py:10
← previous
next →
101–200 of 213, ranked by callers