Skip to content

Commit 1016ac0

Browse files
authored
Merge pull request yunjey#112 from marlonjan/patch-1
fix typo in comments
2 parents 1760cc8 + 63db681 commit 1016ac0

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

tutorials/01-basics/pytorch_basics/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# 1. Basic autograd example 1 (Line 21 to 36)
1313
# 2. Basic autograd example 2 (Line 39 to 77)
1414
# 3. Loading data from numpy (Line 80 to 83)
15-
# 4. Implementing the input pipline (Line 86 to 113)
16-
# 5. Input pipline for custom dataset (Line 116 to 138)
15+
# 4. Implementing the input pipeline (Line 86 to 113)
16+
# 5. Input pipeline for custom dataset (Line 116 to 138)
1717
# 6. Using pretrained model (Line 141 to 155)
1818
# 7. Save and load model (Line 158 to 165)
1919

@@ -83,7 +83,7 @@
8383
c = b.numpy() # convert torch tensor to numpy array
8484

8585

86-
#===================== Implementing the input pipline =====================#
86+
#===================== Implementing the input pipeline =====================#
8787
# Download and construct dataset.
8888
train_dataset = dsets.CIFAR10(root='../data/',
8989
train=True,
@@ -113,7 +113,7 @@
113113
pass
114114

115115

116-
#===================== Input pipline for custom dataset =====================#
116+
#===================== Input pipeline for custom dataset =====================#
117117
# You should build custom dataset as below.
118118
class CustomDataset(data.Dataset):
119119
def __init__(self):

0 commit comments

Comments
 (0)