model_mono: log learning rate

This commit is contained in:
Starbeamrainbowlabs 2022-12-01 15:10:51 +00:00
parent c384d55dff
commit 53dfa32685
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -73,6 +73,8 @@ def model_rainfallwater_mono(metadata, shape_water_out, model_arch_enc="convnext
outputs = layer_next
)
logger.info(f"learning_rate: {str(learning_rate)}")
optimizer = "Adam"
if learning_rate is not None:
optimizer = tf.keras.optimizers.Adam(learning_rate=learning_rate)