You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if there is a bug in the evaluation of the Propaganda Meme dataset.
In the evaluation procedure, torchmetrics.F1 receives preds (and batch['labels']), but the data type of preds is Int (long).
Hi, thank you for sharing your code.
I am wondering if there is a bug in the evaluation of the Propaganda Meme dataset.
In the evaluation procedure, torchmetrics.F1 receives preds (and batch['labels']), but the data type of preds is Int (long).
hateclipper/engine.py
Line 395 in 04c86b8
Given an Int tensor, TorchMetrics returns unexpected results as below:
I tested this with PyTorch v1.13.1 and TorchMetrics v0.10.0.
I didn't check the other metrics (e.g., precision and recall), but the same problem may exist.
Thank you.
The text was updated successfully, but these errors were encountered: