PyQt5 usecase of pytorch image classification
This is the showcase of using a simple model that distinguishes between five types of flowers (tulips, dandelions, sunflowers, daisies, and roses) and presented result in a PyQt5 GUI.
The model training code can be found at kaggle notebook.
The dataset includes five types of flowers, and the model was trained on this dataset for 15 epochs, with data augmentation applied to enhance accuracy.
The total size of the model file is small, at 15MB.
Below is a graph showing the changes in the model's performance (predictions, errors) according to the frequency of model training.
It can be seen that the model's performance gradually improves as it trains.
If you are interested in learning about basic AI model creation with PyTorch, obtaining datasets, training methods, and utilization, please refer here!
- PyQt5 >= 5.14
- torch
- torchvision
- numpy
- git clone ~
- pip install -r requirements.txt
- python main.py