File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tutorials/01-basics/pytorch_basics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 98
98
99
99
100
100
# ================================================================== #
101
- # 4. Input pipline #
101
+ # 4. Input pipeline #
102
102
# ================================================================== #
103
103
104
104
# Download and construct CIFAR-10 dataset.
130
130
131
131
132
132
# ================================================================== #
133
- # 5. Input pipline for custom dataset #
133
+ # 5. Input pipeline for custom dataset #
134
134
# ================================================================== #
135
135
136
136
# You should build your custom dataset as below.
@@ -186,4 +186,4 @@ def __len__(self):
186
186
187
187
# Save and load only the model parameters (recommended).
188
188
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' ))
You can’t perform that action at this time.
0 commit comments