aws / sagemaker-mxnet-training-toolkit

Toolkit for running MXNet training scripts on SageMaker. Dockerfiles used for building SageMaker MXNet Containers are at https://github.com/aws/deep-learning-containers.
Apache License 2.0
60 stars 55 forks source link

model.deploy fails #87

Closed Vikas-kum closed 5 years ago

Vikas-kum commented 5 years ago

I built my custom sagemaker container with https://github.com/aws/sagemaker-mxnet-container/blob/master/docker/1.4.0/final/Dockerfile.cpu

Now I was using this script - https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/mxnet_gluon_sentiment/mxnet_sentiment_analysis_with_gluon.ipynb

Training completes successfully but m.deploy fails complaining nginx is not there "No such file or directory: 'nginx'

ChoiByungWook commented 5 years ago

Starting with MXNet 1.4.0, the training and serving portions for images are split into these respective repos:

Training: https://github.com/aws/sagemaker-mxnet-container Serving: https://github.com/aws/sagemaker-mxnet-serving-container

You will need to build the serving image if you wish to use that.

For specific documentation on how to build each image please see:

Training: https://github.com/aws/sagemaker-mxnet-container#building-images Serving: https://github.com/aws/sagemaker-mxnet-serving-container#building-images