I have a hard time understanding the get_preds methods output, and more so why to use it on unlabelled data.
Am I correct in understanding that the output of the get_preds first value is a matrix on each image and all its corresponding classes it predicts the image is classified as?
If I use the get_preds on a test dataset with unlabelled images the second get_preds output value is None. What can I do with this output of just predicted classes of each image in the test dataset. Could it be viewed as how well the model is able to predict classes in images without cross-referencing the actual class/label of the image it predicted on?
get_preds() is for generating a prediction on data that is not your training set.
(Think of it as the reason you trained this model, or to make a submission to Kaggle) Therefore, you do not expect to have labels for them.
Correct, preds is a vector (1 element for each category) of the prob of the category.
Find the highest prob to get the predicted category
Ok great thx for the answer. So get_preds is then used for batch predictions on data that contains more than one item at once, instead of single predictions using the predict() method for example?