Skip to content

Commit 4e495bc

Browse files
jesterhazywinstonaws
authored andcommitted
remove credentials import (#101)
1 parent 638ced9 commit 4e495bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sagemaker-python-sdk/mxnet_gluon_cifar10/cifar10.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"metadata": {},
2020
"outputs": [],
2121
"source": [
22-
"import credentials # put your credentials in credentials.py\n",
2322
"import os\n",
2423
"import boto3\n",
2524
"import sagemaker\n",
@@ -96,7 +95,7 @@
9695
"source": [
9796
"## Run the training script on SageMaker\n",
9897
"\n",
99-
"The ```MXNet``` class allows us to run our training function as a distributed training job on SageMaker infrastructure. We need to configure it with our training script, an IAM role, the number of training instances, and the training instance type. In this case we will run our training job on four `ml.p2.xlarge` instances. "
98+
"The ```MXNet``` class allows us to run our training function as a distributed training job on SageMaker infrastructure. We need to configure it with our training script, an IAM role, the number of training instances, and the training instance type. In this case we will run our training job on two `ml.p2.xlarge` instances."
10099
]
101100
},
102101
{
@@ -107,7 +106,7 @@
107106
"source": [
108107
"m = MXNet(\"cifar10.py\", \n",
109108
" role=role, \n",
110-
" train_instance_count=4, \n",
109+
" train_instance_count=2, \n",
111110
" train_instance_type=\"ml.p2.xlarge\",\n",
112111
" hyperparameters={'batch_size': 128, \n",
113112
" 'epochs': 50, \n",

0 commit comments

Comments
 (0)