Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimJeg/FC-DenseNet
/ functions
Functions
17 in github.com/SimJeg/FC-DenseNet
⨍
Functions
17
◇
Types & classes
1
↓ 4 callers
Function
BN_ReLU_Conv
Apply successivly BatchNormalization, ReLu nonlinearity, Convolution and Dropout (if dropout_p > 0) on the inputs
layers.py:8
↓ 4 callers
Function
batch_loop
Loop on the batches
train.py:21
↓ 3 callers
Method
restore
Load the weights
FC-DenseNet.py:122
↓ 3 callers
Method
summary
Print a summary of the network architecture
FC-DenseNet.py:129
↓ 2 callers
Function
load_data
(dataset, train_crop_size=(224, 224), one_hot=False, batch_size=10, horizontal_fli
data_loader.py:4
↓ 2 callers
Function
theano_metrics
Returns the intersection I and union U (to compute the jaccard I/U) and the accuracy. :param y_pred: tensor of predictions. shape (b*0*1, c
metrics.py:4
↓ 1 callers
Function
SoftmaxLayer
Performs 1x1 convolution followed by softmax nonlinearity The output will have the shape (batch_size * n_rows * n_cols, n_classes)
layers.py:48
↓ 1 callers
Function
TransitionDown
Apply first a BN_ReLu_conv layer with filter size = 1, and a max pooling with a factor 2
layers.py:21
↓ 1 callers
Function
TransitionUp
Performs upsampling on block_to_upsample by a factor 2 and concatenates it with the skip_connection
layers.py:32
↓ 1 callers
Function
crossentropy
(y_pred, y_true, void_labels)
metrics.py:66
↓ 1 callers
Function
initiate_training
(cf)
train.py:198
↓ 1 callers
Method
save
Save the weights
FC-DenseNet.py:118
↓ 1 callers
Function
test
This function builds the model defined in config_path and restores the weights defined in weight_path. It then reports the jaccard and global
test.py:12
↓ 1 callers
Function
train
(cf)
train.py:55
Method
__init__
This code implements the Fully Convolutional DenseNet described in https://arxiv.org/abs/1611.09326 The network consist of a downsamp
FC-DenseNet.py:12
Method
filter_function
We only display the layers in the list below
FC-DenseNet.py:134
Function
numpy_metrics
Similar to theano_metrics to metrics but instead y_pred and y_true are now numpy arrays
metrics.py:40