Skip to content

Commit 49455b6

Browse files
authored
Merge pull request #115 from awslabs/arpin_r_byo_dkr_restart
Arpin r byo dkr restart
2 parents 1bb6433 + 2765691 commit 49455b6

File tree

10 files changed

+11
-5
lines changed

10 files changed

+11
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ These examples that showcase unique functionality available in Amazon SageMaker.
4444
- [Connecting to Redshift](advanced_functionality/working_with_redshift_data) demonstrates how to copy data from Redshift to S3 and vice-versa without leaving Amazon SageMaker Notebooks.
4545
- [Bring Your Own XGBoost Model](advanced_functionality/xgboost_bring_your_own_model) shows how to use Amazon SageMaker Algorithms containers to bring a pre-trained model to a realtime hosted endpoint without ever needing to think about REST APIs.
4646
- [Bring Your Own k-means Model](advanced_functionality/kmeans_bring_your_own_model) shows how to take a model that's been fit elsewhere and use Amazon SageMaker Algorithms containers to host it.
47+
- [Bring Your Own R Algorithm](advanced_functionality/r_bring_your_own) shows how to bring your own algorithm container to Amazon SageMaker using the R language.
4748
- [Installing the R Kernel](advanced_functionality/install_r_kernel) shows how to install the R kernel into an Amazon SageMaker Notebook Instance.
4849
- [Bring Your Own scikit Algorithm](advanced_functionality/scikit_bring_your_own) provides a detailed walkthrough on how to package a scikit learn algorithm for training and production-ready hosting.
4950

@@ -59,7 +60,7 @@ These examples focus on the Amazon SageMaker Python SDK which allows you to writ
5960
- [TensorFlow Networks with Keras](sagemaker-python-sdk/tensorflow_abalone_age_predictor_using_keras)
6061
- [Introduction to Estimators in TensorFlow](sagemaker-python-sdk/tensorflow_iris_dnn_classifier_using_estimators)
6162
- [TensorFlow and TensorBoard](sagemaker-python-sdk/tensorflow_resnet_cifar10_with_tensorboard)
62-
- [Distributed TensorFlow)(sagemaker-python-sdk/tensorflow_distributed_mnist)
63+
- [Distributed TensorFlow](sagemaker-python-sdk/tensorflow_distributed_mnist)
6364

6465
### Under Development
6566

@@ -68,7 +69,6 @@ These Amazon SageMaker examples fully illustrate a concept, but may require some
6869
- [Bring Your Own MXNet Model](under_development/tensorflow_iris_byom) shows how to bring a model trained anywhere using MXNet into Amazon SageMaker
6970
- [Bring Your Own TensorFlow Model](under_development/tensorflow_iris_byom) shows how to bring a model trained anywhere using TensorFlow into Amazon SageMaker
7071
- [Ensembling Multiple Models](under_development/modeling) creates two different models for prediction, hosts them independently and shows how their outputs can be combined for better accuracy than either one alone.
71-
- [Bring Your Own R Algorithm](advanced_functionality/r_bring_your_own) shows how to bring your own algorithm container to Amazon SageMaker using the R language.
7272

7373
## FAQ
7474

under_development/r_bring_your_own/r_bring_your_own.ipynb renamed to advanced_functionality/r_bring_your_own/r_bring_your_own.ipynb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,12 @@
324324
"# Get the login command from ECR and execute it directly\n",
325325
"$(aws ecr get-login --region ${region} --no-include-email)\n",
326326
"\n",
327+
"# On a SageMaker Notebook Instance, the docker daemon may need to be restarted in order\n",
328+
"# to detect your network configuration correctly. (This is a known issue.)\n",
329+
"if [ -d \"/home/ec2-user/SageMaker\" ]; then\n",
330+
" sudo service docker restart\n",
331+
"fi\n",
332+
"\n",
327333
"# Build the docker image locally with the image name and then push it to ECR\n",
328334
"# with the full name.\n",
329335
"docker build -t ${algorithm_name} .\n",

introduction_to_amazon_algorithms/factorization_machines_mnist/factorization_machines_mnist.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
" 2. [Data ingestion](#Data-ingestion)\n",
1414
" 3. [Data inspection](#Data-inspection)\n",
1515
" 4. [Data conversion](#Data-conversion)\n",
16-
"3. [Training the K-Means model](#Training-the-K-Means-model)\n",
16+
"3. [Training the FM model](#Training-the-FM-model)\n",
1717
"4. [Set up hosting for the model](#Set-up-hosting-for-the-model)\n",
1818
" 1. [Import model into hosting](#Import-model-into-hosting)\n",
1919
" 2. [Create endpoint configuration](#Create-endpoint-configuration)\n",

introduction_to_amazon_algorithms/pca_mnist/pca_mnist.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
" 2. [Data ingestion](#Data-ingestion)\n",
1414
" 3. [Data inspection](#Data-inspection)\n",
1515
" 4. [Data conversion](#Data-conversion)\n",
16-
"3. [Training the K-Means model](#Training-the-K-Means-model)\n",
16+
"3. [Training the PCA model](#Training-the-PCA-model)\n",
1717
"4. [Set up hosting for the model](#Set-up-hosting-for-the-model)\n",
1818
" 1. [Import model into hosting](#Import-model-into-hosting)\n",
1919
" 2. [Create endpoint configuration](#Create-endpoint-configuration)\n",

introduction_to_applying_machine_learning/linear_time_series_forecast/linear_time_series_forecast.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
"metadata": {},
571571
"outputs": [],
572572
"source": [
573-
"#sagemaker.Session().delete_endpoint(linears_predictor.endpoint)"
573+
"#sagemaker.Session().delete_endpoint(linear_predictor.endpoint)"
574574
]
575575
}
576576
],

0 commit comments

Comments
 (0)