/pypc

Predictive coding in Python

Primary LanguagePythonMIT LicenseMIT

An implementation of predictive coding in Python, utilising pytorch for GPU acceleration.

License: MIT

Running

python -m scripts.generative
python -m scripts.supervised

Requirements

  • numpy
  • torch
  • torchvision

Authors