Skip to content

Commit

Permalink
fix little bug, there is no on_sub_batch_start in base class, the cor…
Browse files Browse the repository at this point in the history
…rect function should be on_sub_batch_begin
  • Loading branch information
wyj2046 committed Feb 10, 2017
1 parent f13ee5f commit f3dcd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tflearn/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def on_batch_end(self, training_state, snapshot=False):
else:
self.print_termlogs(training_state)

def on_sub_batch_start(self, training_state):
def on_sub_batch_begin(self, training_state):
pass

def on_sub_batch_end(self, training_state, train_index=0):
Expand Down

0 comments on commit f3dcd09

Please sign in to comment.