Skip to content

Commit 28471f2

Browse files
joaqosoumith
authored andcommitted
Fix typo in imagenet/main.py (pytorch#135)
1 parent 50afe29 commit 28471f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imagenet/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def main():
112112
batch_size=args.batch_size, shuffle=False,
113113
num_workers=args.workers, pin_memory=True)
114114

115-
# define loss function (criterion) and pptimizer
115+
# define loss function (criterion) and optimizer
116116
criterion = nn.CrossEntropyLoss().cuda()
117117

118118
optimizer = torch.optim.SGD(model.parameters(), args.lr,

0 commit comments

Comments
 (0)