≈ the.bay.news

Multi label classification accuracy calculation

PyTorch Forums
Multi label classification accuracy calculation
Hello, I have a dataset with images and a tensor of multi labels in one hot encoding. During the training I am not able to calculate the accuracy, when I print the predictions for the batch what I am getting is a single number with the id of the label (Ex: 54) but I am expecting to get a one hot tensor with more than one class activated. I am doing something very wrong. This is my training loop: for _ in range(cfg.num_rounds): round_count = round_count+1 epoch_count = 0 for _ in ra...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.