I am writing a way to assign coarse label (super class) for each label in the CIFAR 100 dataset.
Is it like this below how they are assigned in pytorch while reading the data. like class 0 =beaver ,class 1 is dolphin …etc or anyother way?
(when I print classes it’s printing in alphabetical order in pytorch like  'apple', 'aquarium_fish', 'baby', 'bear', 'beaver  which mean apple -0 , aquarium_fish 1 ,,etc ? AM I correct or now? or the below Image is correct?).
Just want to want to which one is correct. So I can create superclass for all labels.(went through images but as they are of small sizes it’s a bit confusion) . Any help appreciated.
Screen Shot 2020-05-15 at 1.28.11 AM2222×1080 321 KB