From 0ddacb577d40ccfc7c01cd4ae992e4151bf6128b Mon Sep 17 00:00:00 2001 From: Arya Mohapatra <55232053+aryamohapatra@users.noreply.github.com> Date: Mon, 14 Dec 2020 11:05:27 +0530 Subject: [PATCH 1/2] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index 111c897..293089a 100644 --- a/sm_train.py +++ b/sm_train.py @@ -34,7 +34,7 @@ }) estimator.fit({'training': inputs}) - + ######################################################################## # DONOT EDIT AFTER THIS LINE ######################################################################## From 0dfd532cf7b75b62bb66542644841a3195361337 Mon Sep 17 00:00:00 2001 From: Arya Mohapatra <55232053+aryamohapatra@users.noreply.github.com> Date: Mon, 14 Dec 2020 12:58:43 +0530 Subject: [PATCH 2/2] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index 293089a..bfe4f8c 100644 --- a/sm_train.py +++ b/sm_train.py @@ -5,7 +5,7 @@ from report import ResultReport sagemaker_session = sagemaker.Session(boto3.session.Session()) - + # Put the right role and input data role = "arn:aws:iam::294038372338:role/hunkimSagemaker" inputs = "s3://sagemaker-us-west-2-294038372338/sagemaker/hunkim-pytorch-mnist"