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
↓ 20 callers
Method
cuda
(self)
crd/memory.py:123
↓ 17 callers
Method
update
(self, val, n=1)
helper/util.py:36
↓ 11 callers
Method
__init__
(self, dim_in=1024, dim_out=128)
models/util.py:173
↓ 5 callers
Method
_make_layers
(cfg, batch_norm=False, in_channels=3)
models/vgg.py:103
↓ 5 callers
Method
poly_kernel
(self, a, b)
distiller_zoo/NST.py:38
↓ 4 callers
Method
__init__
(self, in_channels, out_channels)
models/ShuffleNetv2.py:65
↓ 4 callers
Method
_make_layer
(self, block, planes, num_blocks, stride)
models/resnetv2.py:132
↓ 4 callers
Method
factor
(self, f)
distiller_zoo/FT.py:30
↓ 4 callers
Method
reset
(self)
helper/util.py:30
↓ 3 callers
Method
__init__
(self, dim_in=1024, dim_out=128)
crd/criterion.py:81
↓ 3 callers
Method
_make_layer
(self, out_channels, num_blocks)
models/ShuffleNetv2.py:121
↓ 3 callers
Method
_make_layer
(self, block, planes, blocks, stride=1)
models/resnet.py:137
↓ 3 callers
Method
_make_layer
(self, out_planes, num_blocks, groups)
models/ShuffleNetv1.py:71
↓ 3 callers
Function
accuracy
Computes the accuracy over the k top predictions for the specified values of k
helper/util.py:43
↓ 3 callers
Function
get_data_folder
return server-dependent path to store the data
dataset/imagenet.py:14
↓ 3 callers
Function
init
(model_s, model_t, init_modules, criterion, train_loader, logger, opt)
helper/pretrain.py:11
↓ 3 callers
Method
removenan
(x)
distiller_zoo/KDSVD.py:64
↓ 3 callers
Function
validate
validation
helper/loops.py:218
↓ 2 callers
Method
__init__
(self, block, num_blocks, num_classes=10, zero_init_residual=False)
models/resnetv2.py:76
↓ 2 callers
Method
__init__
(self, in_planes, out_planes, stride, dropRate=0.0)
models/wrn.py:14
↓ 2 callers
Method
__init__
(self, depth, num_filters, block_name='BasicBlock', num_classes=10)
models/resnet.py:105
↓ 2 callers
Method
__init__
(self, in_planes, out_planes, stride, groups, is_last=False)
models/ShuffleNetv1.py:22
↓ 2 callers
Function
adjust_learning_rate
Sets the learning rate to the initial LR decayed by decay rate every steep step
helper/util.py:16
↓ 2 callers
Method
at
(self, f)
distiller_zoo/AT.py:28
↓ 2 callers
Method
compute_fsp
(g)
distiller_zoo/FSP.py:30
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
models/resnet.py:18
↓ 2 callers
Function
get_cifar100_dataloaders
cifar 100
dataset/cifar100.py:47
↓ 2 callers
Function
get_data_folder
return server-dependent path to store the data
dataset/cifar100.py:21
↓ 2 callers
Method
get_feat_modules
(self)
models/vgg.py:43
↓ 2 callers
Function
get_teacher_name
parse teacher name
train_student.py:125
↓ 2 callers
Method
pdist
(e, squared=False, eps=1e-12)
distiller_zoo/RKD.py:48
↓ 2 callers
Method
svd
(self, feat, n=1)
distiller_zoo/KDSVD.py:45
↓ 1 callers
Function
ResNet18
(**kwargs)
models/resnetv2.py:165
↓ 1 callers
Function
ShuffleV1
(**kwargs)
models/ShuffleNetv1.py:118
↓ 1 callers
Function
ShuffleV2
(**kwargs)
models/ShuffleNetv2.py:195
↓ 1 callers
Method
__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
dataset/imagenet.py:82
↓ 1 callers
Method
__init__
(self, probs)
crd/memory.py:86
↓ 1 callers
Method
__init__
(self, dim_in, n_label=10)
models/classifier.py:12
↓ 1 callers
Method
__init__
(self, T, feature_dim, input_size=32, width_mult=1.,
models/mobilenetv2.py:66
↓ 1 callers
Method
_build_feature_connector
(t_channel, s_channel)
models/util.py:111
↓ 1 callers
Method
_initialize_weights
(self)
models/vgg.py:118
↓ 1 callers
Method
_initialize_weights
(self)
models/mobilenetv2.py:162
↓ 1 callers
Method
_make_conenctors
(s_shapes, t_shapes)
models/util.py:75
↓ 1 callers
Method
_make_conenctors
(self, s_shapes, t_shapes)
models/util.py:102
↓ 1 callers
Method
_make_layer
(self, block, in_planes, out_planes, nb_layers, stride, dropRate)
models/wrn.py:46
↓ 1 callers
Method
align_rsv
(a, b)
distiller_zoo/KDSVD.py:69
↓ 1 callers
Method
at_loss
(self, f_s, f_t)
distiller_zoo/AT.py:18
↓ 1 callers
Method
compute_loss
(s, t)
distiller_zoo/FSP.py:26
↓ 1 callers
Function
conv_1x1_bn
(inp, oup)
models/mobilenetv2.py:23
↓ 1 callers
Function
conv_bn
(inp, oup, stride)
models/mobilenetv2.py:15
↓ 1 callers
Method
cosine_similarity_loss
(output_net, target_net, eps=0.0000001)
distiller_zoo/PKT.py:17
↓ 1 callers
Method
criterion_alternative_l2
(self, source, target)
distiller_zoo/AB.py:26
↓ 1 callers
Method
draw
Draw N samples from multinomial
crd/memory.py:127
↓ 1 callers
Method
factor_loss
(self, f_s, f_t)
distiller_zoo/FT.py:17
↓ 1 callers
Method
get_bn_before_relu
(self)
models/resnetv2.py:116
↓ 1 callers
Method
get_bn_before_relu
(self)
models/wrn.py:96
↓ 1 callers
Method
get_bn_before_relu
(self)
models/vgg.py:57
↓ 1 callers
Method
get_bn_before_relu
(self)
models/mobilenetv2.py:119
↓ 1 callers
Method
get_bn_before_relu
(self)
models/resnet.py:164
↓ 1 callers
Function
get_cifar100_dataloaders_sample
cifar 100
dataset/cifar100.py:172
↓ 1 callers
Function
load_teacher
(model_path, n_cls)
train_student.py:134
↓ 1 callers
Function
main
()
train_student.py:143
↓ 1 callers
Function
main
()
train_teacher.py:85
↓ 1 callers
Function
mobile_half
(num_classes)
models/mobilenetv2.py:183
↓ 1 callers
Function
mobilenetv2_T_w
(T, W, feature_dim=100)
models/mobilenetv2.py:178
↓ 1 callers
Method
nst_loss
(self, f_s, f_t)
distiller_zoo/NST.py:16
↓ 1 callers
Function
parse_option
()
train_student.py:35
↓ 1 callers
Function
parse_option
()
train_teacher.py:22
↓ 1 callers
Function
resnet8x4
(**kwargs)
models/resnet.py:233
↓ 1 callers
Method
similarity_loss
(self, f_s, f_t)
distiller_zoo/SP.py:16
↓ 1 callers
Function
vgg19_bn
VGG 19-layer model (configuration 'E') with batch normalization
models/vgg.py:215
↓ 1 callers
Function
wrn_40_2
(**kwargs)
models/wrn.py:135
Function
ResNet101
(**kwargs)
models/resnetv2.py:177
Function
ResNet152
(**kwargs)
models/resnetv2.py:181
Function
ResNet34
(**kwargs)
models/resnetv2.py:169
Function
ResNet50
(**kwargs)
models/resnetv2.py:173
Method
__getitem__
(self, index)
dataset/cifar100.py:42
Method
__getitem__
(self, index)
dataset/cifar100.py:138
Method
__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
dataset/imagenet.py:35
Method
__init__
(self, root, train=True, transform=None, target_transform=None, download=Fal
dataset/cifar100.py:99
Method
__init__
(self, root, transform=None, target_transform=None, is_sample=False, k=4096)
dataset/imagenet.py:49
Method
__init__
(self, w_d=25, w_a=50)
distiller_zoo/RKD.py:10
Method
__init__
(self, s_shapes, t_shapes)
distiller_zoo/FSP.py:11
Method
__init__
(self, k=1)
distiller_zoo/KDSVD.py:13
Method
__init__
(self, p1=2, p2=1)
distiller_zoo/FT.py:9
Method
__init__
(self)
distiller_zoo/PKT.py:10
Method
__init__
(self)
distiller_zoo/NST.py:9
Method
__init__
(self)
distiller_zoo/CC.py:11
Method
__init__
(self, p=2)
distiller_zoo/AT.py:11
Method
__init__
(self, feat_num, margin=1.0)
distiller_zoo/AB.py:11
Method
__init__
(self, num_input_channels, num_mid_channel, num_target_chan
distiller_zoo/VID.py:12
Method
__init__
(self)
distiller_zoo/FitNet.py:8
Method
__init__
(self, T)
distiller_zoo/KD.py:9
Method
__init__
(self)
distiller_zoo/SP.py:10
Method
__init__
(self, inputSize, outputSize, K, T=0.07, momentum=0.5)
crd/memory.py:10
Method
__init__
(self, opt)
crd/criterion.py:23
Method
__init__
(self, n_data)
crd/criterion.py:55
Method
__init__
(self, power=2)
crd/criterion.py:95
Method
__init__
(self)
helper/util.py:27
Method
__init__
(self, in_planes, planes, stride=1, is_last=False)
models/resnetv2.py:15
next →
1–100 of 213, ranked by callers