Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liouxy committed Dec 9, 2017
1 parent ac519ac commit 550c6db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,4 @@ ENV/

#model
model
log/
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def train(training_data_loader, optimizer, model, criterion, epoch, train_log):
if iteration%10 == 0:
print("===> Epoch[{}]({}/{}): Loss: {:.10f}".format(epoch, iteration, len(training_data_loader),
loss.data[0]))
train_log.flush()


def test(test_data_loader, model, criterion, epoch, test_log):
Expand Down

0 comments on commit 550c6db

Please sign in to comment.