The recording is available in this thread here (if you may not have access to this now that is okay). A basic summary is that when we call learn.get_preds
(which predict
does), we can pass in decoded=True
. What this entails is that our loss function will decode the values. Why and how this could be different is say with CrossEntropy, we’ll actually run a softmax regularly, but our decoded values will also perform an argmax. Converting it to an actual class name is done through the dataloader’s decode_batch()
function
1 Like