Skip to content

Commit 0ecefbb

Browse files
authored
doc: fix typos in PyTorch CIFAR-10 notebook (#1650)
* fix typos in PyTorch CIFAR-10 notebook * deliberately raise error to test PR build * Revert "deliberately raise error to test PR build" This reverts commit 7c2bac3.
1 parent e266103 commit 0ecefbb

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

sagemaker-python-sdk/pytorch_cnn_cifar10/pytorch_local_mode_cifar10.ipynb

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# PyTorch Cifar10 local training \n",
7+
"# PyTorch CIFAR-10 local training \n",
88
"\n",
9-
"## Pre-requisites\n",
9+
"## Prerequisites\n",
1010
"\n",
1111
"This notebook shows how to use the SageMaker Python SDK to run your code in a local container before deploying to SageMaker's managed training or hosting environments. This can speed up iterative testing and debugging while using the same familiar Python SDK interface. Just change your estimator's `train_instance_type` to `local` (or `local_gpu` if you're using an ml.p2 or ml.p3 notebook instance).\n",
1212
"\n",
13-
"In order to use this feature you'll need to install docker-compose (and nvidia-docker if training with a GPU).\n",
13+
"In order to use this feature, you'll need to install docker-compose (and nvidia-docker if training with a GPU).\n",
1414
"\n",
15-
"**Note, you can only run a single local notebook at one time.**"
15+
"**Note: you can only run a single local notebook at one time.**"
1616
]
1717
},
1818
{
@@ -30,7 +30,7 @@
3030
"source": [
3131
"## Overview\n",
3232
"\n",
33-
"The **SageMaker Python SDK** helps you deploy your models for training and hosting in optimized, productions ready containers in SageMaker. The SageMaker Python SDK is easy to use, modular, extensible and compatible with TensorFlow, MXNet, PyTorch and Chainer. This tutorial focuses on how to create a convolutional neural network model to train the [Cifar10 dataset](https://www.cs.toronto.edu/~kriz/cifar.html) using **PyTorch in local mode**.\n",
33+
"The **SageMaker Python SDK** helps you deploy your models for training and hosting in optimized, productions ready containers in SageMaker. The SageMaker Python SDK is easy to use, modular, extensible and compatible with TensorFlow, MXNet, PyTorch. This tutorial focuses on how to create a convolutional neural network model to train the [CIFAR-10 dataset](https://www.cs.toronto.edu/~kriz/cifar.html) using **PyTorch in local mode**.\n",
3434
"\n",
3535
"### Set up the environment\n",
3636
"\n",
@@ -80,7 +80,7 @@
8080
"cell_type": "markdown",
8181
"metadata": {},
8282
"source": [
83-
"### Download the Cifar10 dataset"
83+
"### Download the CIFAR-10 dataset"
8484
]
8585
},
8686
{
@@ -290,8 +290,17 @@
290290
"pygments_lexer": "ipython2",
291291
"version": "2.7.14"
292292
},
293-
"notice": "Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."
293+
"notice": "Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.",
294+
"pycharm": {
295+
"stem_cell": {
296+
"cell_type": "raw",
297+
"source": [],
298+
"metadata": {
299+
"collapsed": false
300+
}
301+
}
302+
}
294303
},
295304
"nbformat": 4,
296305
"nbformat_minor": 2
297-
}
306+
}

0 commit comments

Comments
 (0)