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): ...@@ -97,8 +97,8 @@ class ReplayMobileCSVFrameSampleLoader(CSVToSampleLoaderBiometrics):
# Set the references list in the probes for vanilla-biometrics # Set the references list in the probes for vanilla-biometrics
if fields["purpose"].lower() != "enroll": if fields["purpose"].lower() != "enroll":
if fields["attack_type"]: if fields["attack_type"]:
# Attacks only compare to the target (no `spoof_neg`) # Attacks are only compare to their target (no `spoof_neg`)
kwargs["references"] = fields["reference_id"] kwargs["references"] = [fields["reference_id"]]
else: else:
kwargs["references"] = self.references_list kwargs["references"] = self.references_list
# One row leads to multiple samples (different frames) # 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