Skip to the content.

FruitsClassifier on Fruits 360

baocaca | fruits_gif

On this project, I build a classifier on the Fruits 360 dataset using Pytorch. I use a pretrained model and transfer learning, as well as do hyper-parameter search to help increase the accuracy.

📺 Youtube Videos:

✍️ Documentation:

- Full Training on Kaggle | GoogleNet | 94% Acc

- Efficient Training with Pytorch Lightning

 

📰 Dataset structure

train/test
    |___apple_braeburn_1
        |___r0_0.jpg
        |___r0_10.jpg
            ...
    |___carrot_1
        |___r0_0.jpg
        |___r0_10.jpg
        ...

 

Large batch visualization

batch

 

Separate visualization

se

 

Single fruit visualization

singbatch

 

Single fruit visualization with transforms

singtr

 

Separate visualization with transforms

setr

 

Batch visualization with transforms

batchtr

 

Pixel Intensity

pixel

 

Visualize the number of classes

class

 

Visualize loss and accuracy

lossacc

 

Visualize model predictions: green(correct) and red(incorrect)

lossacc