L1aoXingyu / Deploy Pytorch Model
Stars: ✭ 117
Programming Languages
python
139335 projects - #7 most used programming language
Labels
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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].