Classifier for different templates of memes