An api uisng resnet to predict imagnet classes with pytorch
- clone this repo
gti clone https://github.com/abhinav-TB/Resnet-api.git
pip3 install requirements.txt
export FLASK_APP=app.py
python3 -m flask run
- /predict arguments -an image of jpeg or png format with key name as file