Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.face
Commits
c1339770
Commit
c1339770
authored
4 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
[nose] Used the new decorator from bob.bio.base
parent
7cf745d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!79
Arcface from InsightFace
Pipeline
#45404
failed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/face/test/test_baselines.py
+7
-7
7 additions, 7 deletions
bob/bio/face/test/test_baselines.py
bob/bio/face/test/test_embeddings.py
+7
-7
7 additions, 7 deletions
bob/bio/face/test/test_embeddings.py
with
14 additions
and
14 deletions
bob/bio/face/test/test_baselines.py
+
7
−
7
View file @
c1339770
...
...
@@ -13,7 +13,7 @@ import bob.io.base
import
functools
import
copy
from
bob.bio.base.test.utils
import
mxnet_available
,
tensorflow
_available
from
bob.bio.base.test.utils
import
is_library
_available
images
=
dict
()
images
[
"
bioref
"
]
=
(
...
...
@@ -106,32 +106,32 @@ def run_baseline(baseline, samples_for_training=[]):
assert
"
scores
"
in
dirs
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_facenet_baseline
():
run_baseline
(
"
facenet-sanderberg
"
)
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_inception_resnetv2_msceleb
():
run_baseline
(
"
inception-resnetv2-msceleb
"
)
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_inception_resnetv2_casiawebface
():
run_baseline
(
"
inception-resnetv2-casiawebface
"
)
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_inception_resnetv1_msceleb
():
run_baseline
(
"
inception-resnetv1-msceleb
"
)
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_inception_resnetv1_casiawebface
():
run_baseline
(
"
inception-resnetv1-casiawebface
"
)
@
mxnet
_available
@
is_library
_available
(
"
mxnet
"
)
def
test_arcface_insightface
():
run_baseline
(
"
arcface-insightface
"
)
...
...
This diff is collapsed.
Click to expand it.
bob/bio/face/test/test_embeddings.py
+
7
−
7
View file @
c1339770
...
...
@@ -3,10 +3,10 @@ import bob.io.base
import
numpy
as
np
from
bob.pipelines
import
Sample
,
wrap
import
pkg_resources
from
bob.bio.base.test.utils
import
mxnet_available
,
tensorflow
_available
from
bob.bio.base.test.utils
import
is_library
_available
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_idiap_inceptionv2_msceleb
():
from
bob.bio.face.embeddings
import
InceptionResnetv2_MsCeleb_CenterLoss_2018
...
...
@@ -30,7 +30,7 @@ def test_idiap_inceptionv2_msceleb():
assert
output
.
size
==
128
,
output
.
shape
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_idiap_inceptionv2_casia
():
from
bob.bio.face.embeddings
import
InceptionResnetv2_Casia_CenterLoss_2018
...
...
@@ -48,7 +48,7 @@ def test_idiap_inceptionv2_casia():
assert
output
.
size
==
128
,
output
.
shape
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_idiap_inceptionv1_msceleb
():
from
bob.bio.face.embeddings
import
InceptionResnetv1_MsCeleb_CenterLoss_2018
...
...
@@ -66,7 +66,7 @@ def test_idiap_inceptionv1_msceleb():
assert
output
.
size
==
128
,
output
.
shape
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_idiap_inceptionv1_casia
():
from
bob.bio.face.embeddings
import
InceptionResnetv1_Casia_CenterLoss_2018
...
...
@@ -84,7 +84,7 @@ def test_idiap_inceptionv1_casia():
assert
output
.
size
==
128
,
output
.
shape
@
tensorflow_available
@
is_library_available
(
"
tensorflow
"
)
def
test_facenet_sanderberg
():
from
bob.bio.face.embeddings
import
FaceNetSanderberg_20170512_110547
...
...
@@ -101,7 +101,7 @@ def test_facenet_sanderberg():
assert
output
.
size
==
128
,
output
.
shape
@
mxnet
_available
@
is_library
_available
(
"
mxnet
"
)
def
test_arcface_insight_face
():
from
bob.bio.face.embeddings
import
ArcFaceInsightFace
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment