Merge pull request #501 from Glinte/main

Fix typo in 01_pytorch_workflow.ipynb
This commit is contained in:
Daniel Bourke authored and GitHub committed 2023-06-29 14:48:47 +10:00
commit 08bb4bad65
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1351,7 +1351,7 @@
"\n",
"So instead, we're using the flexible method of saving and loading just the `state_dict()`, which again is basically a dictionary of model parameters.\n",
"\n",
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dit()`."
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dict()`."
]
},
{
+1 -1
View File
@@ -1344,7 +1344,7 @@
"\n",
"So instead, we're using the flexible method of saving and loading just the `state_dict()`, which again is basically a dictionary of model parameters.\n",
"\n",
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dit()`."
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dict()`."
]
},
{