Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlfredXiangWu/LightCNN
/ functions
Functions
42 in github.com/AlfredXiangWu/LightCNN
⨍
Functions
42
◇
Types & classes
11
↓ 8 callers
Method
update
(self, val, n=1)
train.py:251
↓ 5 callers
Method
__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, padding=1, type=1)
light_cnn.py:13
↓ 4 callers
Method
_make_layer
(self, block, num_blocks, in_channels, out_channels)
light_cnn.py:94
↓ 4 callers
Method
_make_layer
(self, block, num_blocks, in_channels, out_channels)
light_cnn.py:140
↓ 4 callers
Method
_make_layer
(self, block, num_blocks, in_channels, out_channels)
light_cnn_v4.py:62
↓ 2 callers
Function
LightCNN_29Layers
(**kwargs)
light_cnn.py:174
↓ 2 callers
Function
LightCNN_29Layers_v2
(**kwargs)
light_cnn.py:178
↓ 2 callers
Function
LightCNN_9Layers
(**kwargs)
light_cnn.py:170
↓ 2 callers
Method
__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, padding=1, type=1)
light_cnn_v4.py:17
↓ 2 callers
Function
accuracy
Computes the precision@k for the specified values of k
train.py:269
↓ 2 callers
Function
validate
(val_loader, model, criterion)
train.py:205
↓ 1 callers
Function
adjust_learning_rate
(optimizer, epoch)
train.py:258
↓ 1 callers
Function
main
()
train.py:60
↓ 1 callers
Function
main
()
extract_features.py:45
↓ 1 callers
Function
read_list
(list_path)
extract_features.py:91
↓ 1 callers
Method
reset
(self)
train.py:245
↓ 1 callers
Function
save_checkpoint
(state, filename)
train.py:236
↓ 1 callers
Function
save_feature
(save_path, img_name, features)
extract_features.py:100
↓ 1 callers
Function
train
(train_loader, model, criterion, optimizer, epoch)
train.py:158
Function
LightCNN_V4
(cfg)
light_cnn_v4.py:91
Method
__getitem__
(self, index)
load_imglist.py:26
Method
__init__
(self, in_channels, out_channels, kernel_size, stride, padding)
light_cnn.py:27
Method
__init__
(self, in_channels, out_channels)
light_cnn.py:38
Method
__init__
(self, num_classes=79077)
light_cnn.py:51
Method
__init__
(self, block, layers, num_classes=79077)
light_cnn.py:76
Method
__init__
(self, block, layers, num_classes=79077)
light_cnn.py:126
Method
__init__
(self)
train.py:242
Method
__init__
(self, in_channels, out_channels)
light_cnn_v4.py:31
Method
__init__
(self, block, layers)
light_cnn_v4.py:45
Method
__init__
(self, root, fileList, transform=None, list_reader=default_list_reader, loader=default_loader)
load_imglist.py:20
Method
__len__
(self)
load_imglist.py:34
Function
default_list_reader
(fileList)
load_imglist.py:11
Function
default_loader
(path)
load_imglist.py:7
Method
forward
(self, x)
light_cnn.py:21
Method
forward
(self, x)
light_cnn.py:32
Method
forward
(self, x)
light_cnn.py:43
Method
forward
(self, x)
light_cnn.py:67
Method
forward
(self, x)
light_cnn.py:100
Method
forward
(self, x)
light_cnn.py:146
Method
forward
(self, x)
light_cnn_v4.py:25
Method
forward
(self, x)
light_cnn_v4.py:36
Method
forward
(self, x, label=None)
light_cnn_v4.py:68