Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
f55dd20d
Commit
f55dd20d
authored
Dec 05, 2020
by
Tiago de Freitas Pereira
Browse files
Changed subject to reference_id in the tests
parent
647fbab2
Pipeline
#46344
failed with stage
in 6 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/test/test_baselines.py
View file @
f55dd20d
...
...
@@ -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
)
]
...
...
bob/bio/face/test/test_embeddings.py
View file @
f55dd20d
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment