The repository is created to support blogpost on Custom Sagemakers. There are three steps needed to deploy the solution in AWS.
- Train&deploy custom model with SageMaker
- Create API that would use SageMaker model
- Build and deploy a Flask application which would take the tweets and return results of API
Step 1 is covered in the blogpost. Steps 2 and 3 available in corresponding tutorials. During step 3 it is possible to use the code of the Flask application which is stored in the folder EC2_Flask_app/.
Please set the following parameters:
- 'PATH_TO_DATA' in file SageMaker/mysrc/serve.py
- url in file EC2_Flask_app/app.py