Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/izhangzhihao/serverless-tensorflow

Running TensorFlow on AWS Lambda
https://github.com/izhangzhihao/serverless-tensorflow

aws-lambda serverless tensorflow

Last synced: 15 days ago
JSON representation

Running TensorFlow on AWS Lambda

Awesome Lists containing this project

README

        

# Serverless-TensorFlow
Running TensorFlow on AWS Lambda(from this [blog](https://medium.com/@mike.p.moritz/running-tensorflow-on-aws-lambda-using-serverless-5acf20e00033) and this [blog](https://tech.unifa-e.com/entry/2019/09/17/085400))

## Build & run

```shell script
npm install -g serverless
```

To deploy you will need an AWS account and your credentials properly configured. For details see the [docs](https://serverless.com/framework/docs/providers/aws/guide/credentials/).

```shell script
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
serverless plugin install -n serverless-python-requirements
serverless deploy -v
serverless invoke local -f hello_world -l
```