Hello.
How do I find the mapping between class names and labels?
I’m using a pretrained network (mobilnet v2) and can get a prediction using pretrained weights using a random image. I then get call argmax of the output to get the label. But I would like to know the name of the label, eg is 654 a plane or a car or something else?
I’ve looked at this post but it does not answer my question

  
    
    
    How to get the class names to class label mapping 
  
  
    I am using ResNet-18 for classification purpose. I have used dataloader to load the data. But how get the label to class name mapping? Does it load in alphabetical order?
  


/D