I am using pytorch one hot function for this, in each batch I applied this function. do I need to some thing extra or this function internally manage that.
what other way is that find those images which have all 60 labels, use sklean one hot encoder and fit on it  then on all rest of images, just transform it