Hashing with binary autoencoders