retrieval using features extracted from cnn