https://github.com/reshane/tapi
torch model api
https://github.com/reshane/tapi
Last synced: 10 months ago
JSON representation
torch model api
- Host: GitHub
- URL: https://github.com/reshane/tapi
- Owner: reshane
- Created: 2023-03-23T22:13:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-23T22:21:16.000Z (over 3 years ago)
- Last Synced: 2025-09-21T23:52:17.184Z (10 months ago)
- Language: Rust
- Size: 40.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tapi
torch api - named in a hurry
## quick start
```
don't
```
...
`$cargo r`
## what is happening
this is a rocket api that loads the resnet18 model every time the root `"/"` is hit and it makes a prediction on the same image.
it then returns a string containing the prediction and probability.
kind of useless, but for now it's a proof of concept.