We will be using Python 3.6 and Tensorflow==1.15.2
1 - Build packages and Tensorflow > check build_libraries/ folder
2 - Download models > check OD_model/ folder
3 - Test function (optional) > check inference_example/ folder
3 - Zip function > check OF_FCT/ folder
0 - To build all at once, run
bash build-all.sh
Files to upload to S3 :
- Lambda function : od_function.zip
- Model folder(s)
- Lambda layer : mypythonlibs36.zip
Each folder has its own README for more details to setup
For AWS setup, check the Medium link
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf1.md