{ "cells": [ { "cell_type": "markdown", "id": "38ab0cc8", "metadata": {}, "source": [ "
Tutorial 2
\n", "\n", "# Efficient image classification\n", "\n", "[](https://colab.research.google.com/github/Poirazi-Lab/chronoprop/blob/main/docs/tutorials/02_image_classification.ipynb) \n", "\n", "In its simplest form, ChronoProp uses one time window for the whole input. Here the input is an\n", "image, shown to a spiking network for 50 ms as trains of random spikes. ChronoProp then computes one\n", "gradient per image from the hidden neurons' spike counts, whereas BPTT computes one per simulation\n", "step. We train both methods on the same network at two timesteps, compare their accuracy with the\n", "paper's, and measure what each costs, as in the paper's Fig. 2. To run it on Colab's GPU, please\n", "select *Runtime → Change runtime type → T4 GPU*." ] }, { "cell_type": "markdown", "id": "5b8e1977", "metadata": {}, "source": [ "