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

snapshot...

parent 6b36c65f
No related branches found
No related tags found
No related merge requests found
...@@ -394,7 +394,7 @@ class IcingIntensityNN: ...@@ -394,7 +394,7 @@ class IcingIntensityNN:
decay_rate = 0.95 decay_rate = 0.95
steps_per_epoch = int(self.num_data_samples/BATCH_SIZE) # one epoch steps_per_epoch = int(self.num_data_samples/BATCH_SIZE) # one epoch
# decay_steps = int(steps_per_epoch / 2) # decay_steps = int(steps_per_epoch / 2)
decay_steps = 4 * steps_per_epoch decay_steps = 8 * steps_per_epoch
print('initial rate, decay rate, steps/epoch, decay steps: ', initial_learning_rate, decay_rate, steps_per_epoch, decay_steps) print('initial rate, decay rate, steps/epoch, decay steps: ', initial_learning_rate, decay_rate, steps_per_epoch, decay_steps)
self.learningRateSchedule = tf.keras.optimizers.schedules.ExponentialDecay(initial_learning_rate, decay_steps, decay_rate) self.learningRateSchedule = tf.keras.optimizers.schedules.ExponentialDecay(initial_learning_rate, decay_steps, decay_rate)
......
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