All the assignments were done in Google Colab environment, thus all notebooks begin with:
- Connecting to Google Drive containing the assignment
- Installing packages
- Downloading the required dataset
- Changing directory to the current assignment
Sometimes a runtime restart is required after the initial setup of the notebook, due to conflicts with Google Colab's packages.
Use the flags to control what happens everytime the initialization cell runs. Usually you need to download the dataset only once. Due to restarts you'd need to connect to the drive again and CD to the correct directory, but you don't need to install packages again, so keep that flag as False.
Only when a factory reset has been made or the runtime completely changed you'll need to install packages again.