score_file#

ibl_bwb_eval.scoring.ts3.score_file(pred_path, gt_path)[source]#

Score one prediction file against its ground truth file.

Parameters:
  • pred_path (Path) – path to a predictions .safetensors file.

  • gt_path (Path) – path to the ground_truth.safetensors file.

Return type:

dict[str, float]

Returns:

Dict mapping metric name to scalar value.