https://github.com/blcksrx/onnx-rest
A Simple and Fast Rest API for productionization the ONNX models
https://github.com/blcksrx/onnx-rest
fastapi onnx onnx-models onnx-rest onnxruntime rest-api
Last synced: about 1 year ago
JSON representation
A Simple and Fast Rest API for productionization the ONNX models
- Host: GitHub
- URL: https://github.com/blcksrx/onnx-rest
- Owner: blcksrx
- Archived: true
- Created: 2020-07-09T12:03:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T19:55:08.000Z (about 3 years ago)
- Last Synced: 2024-11-05T15:49:41.481Z (over 1 year ago)
- Topics: fastapi, onnx, onnx-models, onnx-rest, onnxruntime, rest-api
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ONNX-REST
A **simple** and **fast** Rest API for productionization the ONNX models.

## How to use?
Simply **clone** this repository and copy your **ONNX** models into the `models` directory and just run the project with **uvicorn**!
The rest api docs are presents in the `/docs` path
1. `git clone git@github.com:blcksrx/onnx-rest.git`
2. `cd onnx-rest`
3. `pip install -r requirements.txt`
4. `uvicorn main:app`
5. verify the project is running well:
```
$ curl localhost:8000/actuator/health
{"Status": "Up"}
```
## Contributing |
Wanna help? Just fork it and create PRs!