Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasveit/densenet-pytorch
/ functions
Functions
20 in github.com/andreasveit/densenet-pytorch
⨍
Functions
20
◇
Types & classes
6
↓ 6 callers
Method
update
(self, val, n=1)
train.py:258
↓ 4 callers
Method
__init__
(self, depth, num_classes, growth_rate=12, reduction=0.5, bottleneck=True, dropRate=0.0)
densenet.py:69
↓ 2 callers
Function
accuracy
Computes the precision@k for the specified values of k
train.py:274
↓ 1 callers
Method
_make_layer
(self, block, in_planes, growth_rate, nb_layers, dropRate)
densenet.py:60
↓ 1 callers
Function
adjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 after 150 and 225 epochs
train.py:265
↓ 1 callers
Function
main
()
train.py:57
↓ 1 callers
Method
reset
(self)
train.py:252
↓ 1 callers
Function
save_checkpoint
Saves checkpoint to disk
train.py:237
↓ 1 callers
Function
train
Train for one epoch on the training set
train.py:146
↓ 1 callers
Function
validate
Perform validation on the validation set
train.py:192
Method
__init__
(self)
train.py:249
Method
__init__
(self, in_planes, out_planes, dropRate=0.0)
densenet.py:8
Method
__init__
(self, in_planes, out_planes, dropRate=0.0)
densenet.py:22
Method
__init__
(self, in_planes, out_planes, dropRate=0.0)
densenet.py:43
Method
__init__
(self, nb_layers, in_planes, growth_rate, block, dropRate=0.0)
densenet.py:57
Method
forward
(self, x)
densenet.py:15
Method
forward
(self, x)
densenet.py:33
Method
forward
(self, x)
densenet.py:50
Method
forward
(self, x)
densenet.py:65
Method
forward
(self, x)
densenet.py:111