Definition at line 212 of file my_callbacks.py.
def my_callbacks.InceptionV3Callback.on_epoch_end |
( |
|
self, |
|
|
|
epoch, |
|
|
|
logs = {} |
|
) |
| |
Definition at line 213 of file my_callbacks.py.
215 current_lr = K.get_value(self.model.optimizer.lr)
216 print "Learning rate:", current_lr
217 new_lr = current_lr * 0.94
218 K.set_value(self.model.optimizer.lr, new_lr)
219 new_lr = K.get_value(self.model.optimizer.lr)
220 print "New learning rate:", new_lr
def on_epoch_end(self, epoch, logs={})
The documentation for this class was generated from the following file: