Skip to content
Snippets Groups Projects
Commit 58a3e248 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

Probe.references as list

parent 53aba778
No related branches found
No related tags found
1 merge request!106Vulnerability framework - CSV datasets
......@@ -97,8 +97,8 @@ class ReplayMobileCSVFrameSampleLoader(CSVToSampleLoaderBiometrics):
# Set the references list in the probes for vanilla-biometrics
if fields["purpose"].lower() != "enroll":
if fields["attack_type"]:
# Attacks only compare to the target (no `spoof_neg`)
kwargs["references"] = fields["reference_id"]
# Attacks are only compare to their target (no `spoof_neg`)
kwargs["references"] = [fields["reference_id"]]
else:
kwargs["references"] = self.references_list
# One row leads to multiple samples (different frames)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment