DEV Community

Cover image for FruitsClassifier with Pytorch Lightning πŸ‰
Quoc Bao
Quoc Bao

Posted on

FruitsClassifier with Pytorch Lightning πŸ‰

On this project, I convert my FruitsClassifier from Pytorch to Pytorch Lightning. I employ a callback module, a checkpoint mode to store and save the model state_dict. I conduct resume training, plot loss and accuracy from previous trains. I check the accuracy for each class and make predictions on images from outside the dataset.

Β 

✍️ Documentation:

- Convert my Pytorch model to Pytorch Lightning

- FruitsClassifier on Fruits 360

- Full Training on Kaggle | GoogleNet | 94% Acc

- GitHub Page

Β 

πŸ’₯ Training Epochs

training

Β 

πŸ‡ Visualize Loss and Accuracy

lossacc

Β 

🍌 Visualize model performance on test dataset

visualize_model

Β 

🍎 Accuracy of each class

accofeach

Β 

🍍 Image Predictions from outside the Dataset

prediction

Β 

πŸ‘ Accuracy of each class: green(correct predictions), red(incorrect predictions)

accofeach2

Oldest comments (0)