Public Member Functions | List of all members
my_callbacks.InceptionV4Callback Class Reference
Inheritance diagram for my_callbacks.InceptionV4Callback:

Public Member Functions

def on_train_begin (self, logs={})
 

Detailed Description

Definition at line 202 of file my_callbacks.py.

Member Function Documentation

def my_callbacks.InceptionV4Callback.on_train_begin (   self,
  logs = {} 
)

Definition at line 203 of file my_callbacks.py.

203  def on_train_begin(self, logs={}):
204  current_lr = K.get_value(self.model.optimizer.lr)
205  print "Learning rate:", current_lr
206  new_lr = current_lr * 0.94
207  K.set_value(self.model.optimizer.lr, new_lr)
208  new_lr = K.get_value(self.model.optimizer.lr)
209  print "New learning rate:", new_lr
210  return
211 
def on_train_begin(self, logs={})

The documentation for this class was generated from the following file: