Python implementation of "Hashing with binary autoencoders"