Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 27, 2022 05:19 pm GMT

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


Original Link: https://dev.to/qbaocaca/fruitsclassifier-with-pytorch-lightning-49gi

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To