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

snapshot..

parent 7dba5087
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,8 @@ if NumClasses == 2: ...@@ -20,8 +20,8 @@ if NumClasses == 2:
else: else:
NumLogits = NumClasses NumLogits = NumClasses
BATCH_SIZE = 128 BATCH_SIZE = 64
NUM_EPOCHS = 50 NUM_EPOCHS = 60
TRACK_MOVING_AVERAGE = False TRACK_MOVING_AVERAGE = False
EARLY_STOP = True EARLY_STOP = True
...@@ -721,7 +721,7 @@ class IcingIntensityFCN: ...@@ -721,7 +721,7 @@ class IcingIntensityFCN:
self.loss = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False) # For multi-class self.loss = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False) # For multi-class
# decayed_learning_rate = learning_rate * decay_rate ^ (global_step / decay_steps) # decayed_learning_rate = learning_rate * decay_rate ^ (global_step / decay_steps)
initial_learning_rate = 0.002 initial_learning_rate = 0.001
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) decay_steps = int(steps_per_epoch)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment