Skip to content

Commit

Permalink
Update trainer for modified Optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
syllog1sm committed Oct 28, 2017
1 parent d2c7e94 commit c1cad42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thinc/neural/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def iterate(self, train_X, train_y, progress_bar=True):
y = _take_slice(train_y, slice_)
yield X, y
self.dropout = linear_decay(orig_dropout, self.dropout_decay,
self.optimizer.nr_iter)
j)
j += self.batch_size
if progress_bar:
pbar.update(self.batch_size)
Expand Down

0 comments on commit c1cad42

Please sign in to comment.