A simple Django web app classifying uploaded images using a pretrained PyTorch DenseNet.
As an example of how to integrate PyTorch with Django and deploy it on Heroku.
- Live demo: Heroku (might take multiple seconds to start the free Heroku instance)
- Corresponding blog post: Using PyTorch Inside a Django App
pip install -r requirements
Live demo: Heroku (might take multiple seconds to start the free Heroku instance)
python manage.py runserver
The app is running on http://localhost:8000/
See description in blog post.