Keras dependencies required for forecasting only in AWS Lambda

I am trying to pack my Keras (Theanan backend) classifier class models and their HDF5 scales as AWS Lambda functions that handle classification requests coming from the API. Lambda has a 50 MB limit for a zip file containing dependencies , , - , , , zip Lambda. ~ 45 (numpy, scipy ..), , . , , - , , , zip Lambda. ~ 45 (numpy, scipy ..), , .

+6
source share
1 answer

You can delete your binaries to save space

 find . | xargs strip 
+1
source

All Articles