Online Unsupervised Learning of Visual Representations and Categories