Hi Talha!



 talhaanwarch:

I am using pytorch one hot function


Why are you using torch.nn.functional.one_hot()?  I noted in my
previous that you probably don’t want to use one_hot().  What
is your specific goal?


what other way is that find those images which have all 60 labels


Why do you want to find those images that have all 60 labels?
(It’s at least a possibility that no single image has all of the labels.)
What is your actual use case?  What is your larger goal here?
Best.
K. Frank