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 9898
9999
100100# ================================================================== #
101- # 4. Input pipline #
101+ # 4. Input pipeline #
102102# ================================================================== #
103103
104104# Download and construct CIFAR-10 dataset.
130130
131131
132132# ================================================================== #
133- # 5. Input pipline for custom dataset #
133+ # 5. Input pipeline for custom dataset #
134134# ================================================================== #
135135
136136# You should your build your custom dataset as below.
@@ -186,4 +186,4 @@ def __len__(self):
186186
187187# Save and load only the model parameters (recommended).
188188torch .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