Skip to content

Commit 06e0438

Browse files
authored
Merge pull request yunjey#129 from mariuszrokita/patch-1
Update main.py
2 parents 32cf716 + ff803b7 commit 06e0438

File tree

1 file changed

+3
-3
lines changed
  • tutorials/01-basics/pytorch_basics

1 file changed

+3
-3
lines changed

tutorials/01-basics/pytorch_basics/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999

100100
# ================================================================== #
101-
# 4. Input pipline #
101+
# 4. Input pipeline #
102102
# ================================================================== #
103103

104104
# Download and construct CIFAR-10 dataset.
@@ -130,7 +130,7 @@
130130

131131

132132
# ================================================================== #
133-
# 5. Input pipline for custom dataset #
133+
# 5. Input pipeline for custom dataset #
134134
# ================================================================== #
135135

136136
# You should build your custom dataset as below.
@@ -186,4 +186,4 @@ def __len__(self):
186186

187187
# Save and load only the model parameters (recommended).
188188
torch.save(resnet.state_dict(), 'params.ckpt')
189-
resnet.load_state_dict(torch.load('params.ckpt'))
189+
resnet.load_state_dict(torch.load('params.ckpt'))

0 commit comments

Comments
 (0)