Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame authored Dec 27, 2019
1 parent d187299 commit 6ed4cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main():
batch_size=128, shuffle=False,
num_workers=args.workers, pin_memory=True)

# define loss function (criterion) and pptimizer
# define loss function (criterion) and optimizer
criterion = nn.CrossEntropyLoss().cuda()

if args.half:
Expand Down

0 comments on commit 6ed4cdb

Please sign in to comment.