def on_epoch_begin(self, epoch, logs=None):
    global current_epoch
    current_epoch = epoch
    print(('current epoch ' + str(current_epoch)))
def on_epoch_begin(self, epoch, logs=None):
    global current_epoch
    current_epoch = epoch
    print(('current epoch ' + str(current_epoch)))