-
The code can be executed as jupyter notebook or also on Google Collab.
-
The dataset from Kaggle should be downloaded as a zip file and the whole folder called "PlantVillage" should be included as a zip file. https://www.kaggle.com/datasets/faysalmiah1721758/potato-dataset
-
Make sure that the code has "!unzip /content/PlantVillage.zip" to use the zip file as dataset in Google Collab.
-
The training takes about 50 to 60 min to finish 13 epochs on Google Collab, after which you start getting the output, results and visualizations.
-
The predictions of leaves that are done using this code has been restricted to 9 leaves only for saving time but the code can be modified to check for all leaves.