Check out my Medium post "Create an Image Classification Web App using PyTorch and Streamlit" here.
This is a simple image classification web application, using both Streamlit and PyTorch.
For people who are not experts at Django or Flask, Streamlit can be a good alternative to build custom Python web apps for data science. I chose image classification as the task here because computer vision is one of the most popular areas of AI currently, powered by the advancement of deep learning algorithms.
- Install Streamlit
- Build UI
- Build Model
- Test Results
- Next Steps
I have chosen the pretrained ResNet101 model to perform classification.
pip install -r requirements.txt