Get started with Google Colab
Colab runs the notebook in your browser with zero setup — Python, PyTorch, and GPU access are all pre-installed. This is the fastest way to get going.
Open the notebook
Click "Open in Google Colab" above. Sign in with your Google account if prompted.
Run the setup cell
Click the first code cell and press Shift + Enter (or hit the ▶ play button). This loads the crop disease image and all the helper functions.
Work through Parts 1 & 2
Run each cell in order. In Part 2, edit the kernel values and re-run to see your result. Try to beat a score of 5.0!
Run locally with Jupyter
If you'd prefer to run on your own machine, download the notebook and install a few dependencies.
Install dependencies
Open a terminal and run:
Requires Python 3.8+. If you use conda, conda install pytorch torchvision matplotlib jupyter -c pytorch works too.
Launch Jupyter and open the notebook
From the same terminal, navigate to where you saved the file and run: