Skip to content

Latest commit

 

History

History

RemotePyTorchModel

Server-side PyTorch fashion-MNIST classifier

I trained and saved a very simple PyTorch classifier, used by a Fastapi API that receives POST requests and sends back the predictions over the received images. It has a cache to save the most requested predictions, to avoid querying the model and save time.

I developed this simple application to start with PyTorch, FastAPI, and caching mechanisms.