score_file#
- ibl_bwb_eval.scoring.ts1.score_file(task, pred_path, gt_path)[source]#
Score one prediction file against its ground truth file.
- Parameters:
- Return type:
- Returns:
Dict mapping metric name to scalar value.
- Raises:
ValueError – If the task declares a mask the ground truth does not carry, or if the mask leaves no timestep to score.