Most of my code is on my GitHub repository.


Older projects:


HMax is a biologically inspired model of visual recognition, developed mostly by Tomaso Poggio, Maximilian Riesenhuber and Thomas Serre. I reimplemented it in about 200 lines of Python code (and about as many lines of comments). It requires a working Python interpreter, with the Numpy and Scipy libraries installed. The code is linked to at the bottom of this page.

The whole model takes about a minute to run on a single 256x256 image. You might find it useful if you want to study or expand HMax. Otherwise, there is no real reason to use this. In particular, for any computational modeling task, you would be much better off using Deep Learning frameworks like Keras. (See also Instant Espresso from Chuan-Yung Tsai at the Cox lab, which leverages the Caffe deep learning architecture with just one page of very fast Python code.) 

For more information on HMax:


Virtual Creatures

During my PhD I worked on building simulations of 3D articulated robots ("virtual creatures"), controlled by neural networks, and designed by evolutionary methods. See Shane Celis' Github repository for a refactored, extended version of my original code.


hmax-python.zip2.13 MB
v1model.zip18 KB
attentioncode.zip31 KB
rnncode.zip64 KB