Deploy Pytorch Model Save

Project README

A Simple PyTorch deep learning REST API

This repository contains the code of 如何用flask部署pytorch模型

Starting the pytorch server

python run_pytorch_server.py 

You can now access the REST API via http://127.0.0.1:5000/predict

Submitting requests to pytorch server

python simple_request.py --file='file_path'

Acknowledgement

This repository refers to jrosebr1/simple-keras-rest-api, and thank the author again.

Open Source Agenda is not affiliated with "Deploy Pytorch Model" Project. README Source: L1aoXingyu/deploy-pytorch-model
Stars
143
Open Issues
1
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating