Merge pull request #144 from titu1994/master

Refactor DenseNets
This commit is contained in:
Somshubra Majumdar
2017-09-19 08:40:18 -05:00
committed by GitHub
2 changed files with 686 additions and 367 deletions
+5 -2
View File
@@ -33,8 +33,11 @@ nb_filter = 16
dropout_rate = 0.0 # 0.0 for data augmentation
# Create the model (without loading weights)
model = DenseNet(depth, nb_dense_block, growth_rate, nb_filter, dropout_rate=dropout_rate,
input_shape=img_dim, weights=None)
model = DenseNet(depth=depth, nb_dense_block=nb_dense_block,
growth_rate=growth_rate, nb_filter=nb_filter,
dropout_rate=dropout_rate,
input_shape=img_dim,
weights=None)
print('Model created')
model.summary()
File diff suppressed because it is too large Load Diff