An implementation of predictive coding in Python, utilising pytorch
for GPU acceleration. We compare the use of the free energy as a loss function vs mean squared error. In addition we also test these predictive coding networks against a normal backpropagation network.
python -m scripts.supervised
python -m scripts.supervised_mse
python -m scripts.supervised_bp
numpy
torch
torchvision