Zero Shot Learning, Computer Vision, NLP, Pytorch, Machine Learning.
text_features.T).softmax(dim=-1).squeeze().tolist() validation_predictions.append(sorted(list(zip(text_probs, classes)), reverse=True)) Then for each image we obtain likelihood ranked list of possible classes: [(0.9992687106132507, 'shoes'), (0.0005700313486158848, 'outwear'),