Skip to content
Snippets Groups Projects
Commit cb315967 authored by tomrink's avatar tomrink
Browse files

initial commit for aircraft icing

parent d23f00c3
No related branches found
No related tags found
No related merge requests found
......@@ -538,8 +538,9 @@ class IcingIntensityNN:
print('build fully connected layer')
drop_rate = 0.5
# activation = tf.nn.softmax
activation = tf.nn.sigmoid # For binary
# activation = tf.nn.relu
# activation = tf.nn.elu
activation = tf.nn.leaky_relu
momentum = 0.99
if input_layer is not None:
......@@ -561,6 +562,9 @@ class IcingIntensityNN:
fc = build_residual_block(fc, drop_rate, fac*n_hidden, activation, 'Residual_Block_5')
# activation = tf.nn.softmax
activation = tf.nn.sigmoid # For binary
fc = tf.keras.layers.Dense(n_hidden, activation=activation)(fc)
fc = tf.keras.layers.BatchNormalization()(fc)
print(fc.shape)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment