Predictive Coding
A third-party reimplementation of the paper: "Predictive Coding in the Visual Cortex: a Functional Interpretation of Some Extra-classical Receptive-field Effects" by Rajesh P. N. Rao and Dana H. Ballard
Network
Network image from Rao's original paper:
Results
Network weights
Level1
Level2
End stopping
Visualization of the prediction errors (r - r^td) at the center level1 module with long and short bar image input.
The prediction errors for the long bar should be much more smaller, they are not smaller compared with the original paper's result.