Skip to content

Commit

Permalink
Made epochs 1-indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Aug 13, 2019
1 parent 4e940e1 commit 6b79dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_tacotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def tts_train_loop(paths: Paths, model: Tacotron, optimizer, train_set, lr, trai
total_iters = len(train_set)
epochs = train_steps // total_iters + 1

for e in range(epochs):
for e in range(1, epochs+1):

start = time.time()
running_loss = 0
Expand Down

0 comments on commit 6b79dbb

Please sign in to comment.