simple-estimator-and-sagemaker 👋
Simple guide to use tf.estimator and deploy to AWS SageMaker (after training with your GPU)
Usage
# train and test simple mnist model $ make && make test # upload your model $ tar cvzf model.tar.gz saved_model/<MODEL_VERSION>/ $ aws s3 cp model.tar.gz s3://<AWS_BUCKET>/<S3_MODEL_PATH> # change AWS variables before run this $ python sagemaker_deploy.py $ python sagemaker_inference.py