Lab: CNN Part 2
Instructions:
- Start a new TAP session as documented in Lab Setup
- If you have not done so, download the notebooks as instructed in Lab Setup
- Navigate to the
sciml-course/cnn
directory, and opencnn_part2.ipynb
- Inside the notebook, under the
Kernel
dropdown menu, click onChange Kernel
and choosecnn_course_kernel
- Now that the notebook is set up to run the new kernel, you can either step through each cell of the notebook one-at-a-time by repeatedly clicking on the
Run
button near the top, or you can selectRun All
from theCell
dropdown menu to run through all the cells sequentially
Tips:
If you are running the notebook and encounter a ModuleNotFoundError
error, double check that you have changed the kernel to cnn_course_kernel
. If the kernel is changed correctly, it should display cnn_course_container
on the top right.
This notebook will use the same hyperparameters as used in part 1:
- Learning Rate (lr): how much model parameters are updated at each batch/epoch
- Batch Size: number of data points used to estimate gradients at each iteration
- Epochs: Number of times to iterate over our entire dataset in optimization process
These hyperparameters will be used throughout the notebook.
©
Chishiki-AI
|
Cornell University
|
Center for Advanced Computing
|
Copyright Statement
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)