Changed subject to reference_id in the tests

parent 647fbab2
Pipeline #46344 failed with stage
in 6 minutes and 38 seconds
......@@ -42,7 +42,7 @@ def get_fake_sample_set(face_size=(160, 160), purpose="bioref"):
)
],
key=key,
subject=key,
reference_id=key,
references=["1"],
)
]
......@@ -54,7 +54,7 @@ def get_fake_samples_for_training():
annotations = {"reye": (131, 176), "leye": (222, 170)}
return [
Sample(x, key=str(i), subject=str(i), annotations=annotations)
Sample(x, key=str(i), reference_id=str(i), annotations=annotations)
for i, x in enumerate(data)
]
......
......@@ -137,7 +137,7 @@ def test_idiap_inceptionv1_casia():
assert output.size == 128, output.shape
# @is_library_available("tensorflow")
@is_library_available("tensorflow")
def test_facenet_sanderberg():
from bob.bio.face.embeddings.tf2_inception_resnet import (
FaceNetSanderberg_20170512_110547,
......
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