Skip to content

l-dawei/deploy-pytorch-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%