This implementation of Latent Predictive Learning (LPL) is based on this paper by Halvagal and Zenke.
You can install with:
pip install -e .
Run files with this pattern:
python -m datasets.src.zenke_2a.visualize
The structure is as follows:
/datasets: contains various data generation and pytorchDatasetimplementations. The simplest is fig 2A from the above paper/model: contains the model code for a SNN with LPL learning rule/benchmarks: entrypoints for applying various datasets to the model