7/19/2024 | 2024 Fall - Site under construction |
Common email: e4040TAs@columbia.edu
TA names, office hours (location and time) are announced in the Courseworks.
2024 Fall: the updated description will be shared on the courseworks.
The course covers theoretical underpinnings, architecture and performance, datasets, and applications of neural networks and deep learning (DL). The course uses Python coding language, TensorFlow deep learning framework, and Google Cloud computational platform with graphics processing units (GPUs). The main resource for the course is the book entitled "Deep Learning" by Ian Goodfellow, Yoshua Bengio, and Aaron Courville, MIT Press, http://www.deeplearningbook.org, 2016.
Students will contribute to the course by:
2024 Fall TBD.
Computational tools are essential for learning about, designing, and experimenting with deep learning models. At the top level, deep learning developers use one of the deep learning frameworks to build and run models, which rely on a myriad of either generic or custom software libraries. This course will use a particular version of the TensorFlow framework. The underlying computing language is Python, and the course will rely on Python code/libraries and Jupyter Notebooks for developing and experimenting with code. The students will be asked to run the tools and deep learning models in the Google Cloud Platform (GCP), and in some cases in Google COLAB. For their personal use, the students can use their own (local/personal) computers. Versioning of the tools is complex: (i) instructors will provide a GCP image with preinstalled tools and (ii) if using personal computers, students need to follow the precise tool version instructions in order to have functional computing environments. This course relies on Conda and PIP for tool versioning.
For more complex assignments, students should run deep learning code on Google Compute Engine (GCE) virtual machine (VM) instances, with GPU resources. The instructors will provide coupons (codes) which will enable students to use Google cloud resources for free. This tutorial provides the instructions how to setup a GCE/GCP VM instance using the custom VM image created by the instructors.
This section is linked to the official Python tutorial. There are many other excellent resources that can be used as well. The course uses python 3.7 and Anaconda 3 for programming assignments (TODO check for 2022Fall). In the shared Google cloud image, the instructors installed the Python 3.7 version (TODO check for 2022Fall). If you choose to use your personal computers, you should use exactly the same version of all tools as described in the section on GCE setup.
As of 2022 the course does not support local (PC/laptop) environments any more. All assignments must be done in GCP/GCE. The rest of information in this section is purely informational. For assignment submissions, students must use the methodology specified by the assignments, which is (as of 2022 fall) a combination of Google COLAB and Google Compute Engine (GCE) Setup on the Google Cloud Platform (GCP). For their own personal use, students could use their personal/local computers to run python code, jupyter notebooks, TensorFlow framework and deep learning models. This is possible both with computers which have graphics processing units (GPUs) and with computers which do not have GPUs. The execution will be faster on computers with GPUs. The begining assignments in this course are runnable on single processor (non-GPU) computers. Later assignments and projects will require that students run them on machines with GPUs; the assignments must be run on the Google Cloud GPU machines. We will provide coupons for Google cloud (GCP) access. Clicking on this section leads to instructions on how to install tools for personal computers. The instructors will have no time for debugging of local computer tool installations - the required computing platform for assignments is the Google Cloud Platform (GCP).
TensorFlow is an open-source deep learning framework developed by Google. It is the framework of choice for this course. Note that, as of 2020 this course uses versions 2.2.0 (TODO update for 2022 Fall) of TensorFlow, although the most recent TensorFlow homepage(s) may refer to a more recent version. For 2022 assignments, students have to use the course-prescribed versions of TensorFlow and Python. If students wish to experiment with other versions of tools, they are advised to create additional (conda) virtual environments to prevent conflicts with tool versions used for the assignments.
The GCP VM instances used in this course are Linux-based. This tutorial offers hands-on instructions for basic Linux commands.
Homework assignments will be using Github repositories and Github Classroom distribution of assignments. Students need to be comfortable with Github, as well as git commands or visual git clients such as GitKraken. For beginners, it is strongly recommended that you read the first 3 chapters of this website. Additional instructions for use of assignment-related github repositories will be provided during the course.
Colab provides a free cloud service based on Jupyter Notebooks. It supports free GPUs with popular deep learning libraries with an execution/data-storage time limit. It is a good platform for developing and testing the deep learning code, which avoids the issues of tool installation. However, because of time limitations, we do not recommend that you do the assignments on Colab - everything except Jupyter Notebooks would be automatically deleted every 12 hours. We will use Colab ocassionally for quick sharing of jupyter notebooks and running of simple models, but we request that students set up their google cloud resources (GCE) to use as the primary computing environment. Personal (local) computing environments can be used as well, with careful management of tool versions.
Solutions to some common problems
ECBM E4040 Neural Networks and Deep Learning
Columbia University