# lexfridman/mit-deep-learning architecture

> Architecture diagram of the GitHub repository lexfridman/mit-deep-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lexfridman/mit-deep-learning
- Repository: https://github.com/lexfridman/mit-deep-learning

## Overview

This repository is a collection of hands-on MIT deep-learning tutorials rather than an application runtime. Learners open notebooks and follow demonstrations: the basics notebook covers feed-forward and convolutional networks; the driving tutorial applies semantic segmentation to sample video; and the GAN tutorial explores BigGAN. Earlier notebooks cover introductory perceptrons, TensorFlow, MNIST, and traffic-light classification. The README also describes DeepTraffic, but identifies it as a separate competition project. The tree and README support these relationships; notebook internals were not available for inspection.

Main entry points: [`tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb`](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb) (Scene segmentation), [`tutorials_previous/5_tensorflow_traffic_light_classification.ipynb`](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/5_tensorflow_traffic_light_classification.ipynb) (Traffic-light classification), [`tutorial_driving_scene_segmentation/mit_driveseg_sample.mp4`](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/mit_driveseg_sample.mp4) (Sample driving video), [`tutorials_previous/5_tensorflow_traffic_light_images`](https://github.com/lexfridman/mit-deep-learning/tree/master/tutorials_previous/5_tensorflow_traffic_light_images) (Traffic-light images)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_current["Core tutorials"]
  node_basics["Deep learning basics"]
  node_driving["Scene segmentation"]
  node_sample_video["Sample driving video"]
  node_gans["GANs and BigGAN"]
end

subgraph group_previous["Earlier tutorials"]
  node_perceptron["Python perceptron"]
  node_tf_intro["TensorFlow intro"]
  node_simple_nn["Simple neural network"]
  node_mnist["TensorFlow MNIST"]
  node_traffic["Traffic-light classification"]
  node_traffic_images["Traffic-light images"]
end

subgraph group_competition["Competition"]
  node_deeptraffic["DeepTraffic competition"]
end

node_learner(("Learner"))

node_learner -->|"follows"| node_basics
node_learner -->|"follows"| node_driving
node_learner -->|"follows"| node_gans
node_sample_video -->|"input video"| node_driving
node_learner -->|"follows"| node_perceptron
node_learner -->|"follows"| node_tf_intro
node_learner -->|"follows"| node_simple_nn
node_learner -->|"follows"| node_mnist
node_learner -->|"follows"| node_traffic
node_traffic_images -->|"image data"| node_traffic
node_learner -.->|"competes in"| node_deeptraffic

click node_basics "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_deep_learning_basics/deep_learning_basics.ipynb"
click node_driving "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb"
click node_sample_video "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/mit_driveseg_sample.mp4"
click node_gans "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_gans/tutorial_gans.ipynb"
click node_perceptron "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/1_python_perceptron.ipynb"
click node_tf_intro "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/2_tensorflow_intro.ipynb"
click node_simple_nn "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/3_tensorflow_simple_neural_network.ipynb"
click node_mnist "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/4_tensorflow_mnist.ipynb"
click node_traffic "https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/5_tensorflow_traffic_light_classification.ipynb"
click node_traffic_images "https://github.com/lexfridman/mit-deep-learning/tree/master/tutorials_previous/5_tensorflow_traffic_light_images"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_basics,node_driving,node_sample_video,node_gans toneBlue
class node_perceptron,node_tf_intro,node_simple_nn,node_mnist,node_traffic,node_traffic_images toneAmber
class node_deeptraffic toneMint
class node_learner toneIndigo
```

## Components

### Core tutorials

- [Deep learning basics](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_deep_learning_basics/deep_learning_basics.ipynb): `tutorial_deep_learning_basics/deep_learning_basics.ipynb`
- [Scene segmentation](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb): `tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb`
- [Sample driving video](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_driving_scene_segmentation/mit_driveseg_sample.mp4): `tutorial_driving_scene_segmentation/mit_driveseg_sample.mp4`
- [GANs and BigGAN](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorial_gans/tutorial_gans.ipynb): `tutorial_gans/tutorial_gans.ipynb`

### Earlier tutorials

- [Python perceptron](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/1_python_perceptron.ipynb): `tutorials_previous/1_python_perceptron.ipynb`
- [TensorFlow intro](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/2_tensorflow_intro.ipynb): `tutorials_previous/2_tensorflow_intro.ipynb`
- [Simple neural network](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/3_tensorflow_simple_neural_network.ipynb): `tutorials_previous/3_tensorflow_simple_neural_network.ipynb`
- [TensorFlow MNIST](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/4_tensorflow_mnist.ipynb): `tutorials_previous/4_tensorflow_mnist.ipynb`
- [Traffic-light classification](https://github.com/lexfridman/mit-deep-learning/blob/master/tutorials_previous/5_tensorflow_traffic_light_classification.ipynb): `tutorials_previous/5_tensorflow_traffic_light_classification.ipynb`
- [Traffic-light images](https://github.com/lexfridman/mit-deep-learning/tree/master/tutorials_previous/5_tensorflow_traffic_light_images): `tutorials_previous/5_tensorflow_traffic_light_images`

### Competition

- **DeepTraffic competition**

### Other components

- **Learner**

## Connections

- Learner → Deep learning basics: follows
- Learner → Scene segmentation: follows
- Learner → GANs and BigGAN: follows
- Sample driving video → Scene segmentation: input video
- Learner → Python perceptron: follows
- Learner → TensorFlow intro: follows
- Learner → Simple neural network: follows
- Learner → TensorFlow MNIST: follows
- Learner → Traffic-light classification: follows
- Traffic-light images → Traffic-light classification: image data
- Learner → DeepTraffic competition: competes in
