Skip to content

Commit

Permalink
update patience and training rate
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiCorbilla committed Jun 15, 2020
1 parent e68d98c commit 9a56348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odir_xception_training_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
batch_size = 32
num_classes = 8
epochs = 100
patience = 5
patience = 3

# class_weight = {0: 1.,
# 1: 1.583802025,
Expand Down Expand Up @@ -87,7 +87,7 @@
# optimizer='rmsprop',
# metrics=defined_metrics)

sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
sgd = SGD(lr=0.001, decay=1e-6, momentum=0.9, nesterov=True)
print('Configuration Start -------------------------')
print(sgd.get_config())
print('Configuration End -------------------------')
Expand Down

0 comments on commit 9a56348

Please sign in to comment.