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