Commit b3fc1693 authored by Yannick DAYER's avatar Yannick DAYER

Convert None scores to NaN

parent a12b1fb1
Pipeline #51268 passed with stage
in 7 minutes and 47 seconds
......@@ -224,5 +224,8 @@ def pad_predicted_sample_to_score_line(sample, endl=""):
real_id = claimed_id if sample.is_bonafide else sample.attack_type
if score is None:
score = "nan"
return f"{claimed_id} {real_id} {test_label} {score}{endl}"
# return f"{claimed_id} {model_label} {real_id} {test_label} {score}{endl}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment