CUDA out of memory when using Trainer with compute_metrics

But will this work if compute_metrics calculates AUPR or AUROC? If I use sigmoid, will I stop getting this error?

1 Like