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
Merge requests
!104
Resolve "ArcFace (MXNET) + IJBC lead to memory error"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "ArcFace (MXNET) + IJBC lead to memory error"
mxnet-demanding
into
master
Overview
3
Commits
1
Pipelines
2
Changes
2
Merged
Laurent COLBOIS
requested to merge
mxnet-demanding
into
master
4 years ago
Overview
3
Commits
1
Pipelines
2
Changes
2
Expand
Closes
#42 (closed)
Edited
4 years ago
by
Laurent COLBOIS
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
71387a13
1 commit,
4 years ago
2 files
+
17
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
bob/bio/face/config/baseline/arcface_insightface.py
+
4
−
1
Options
@@ -9,6 +9,9 @@ from bob.bio.base.pipelines.vanilla_biometrics import (
if
"
database
"
in
locals
():
annotation_type
=
database
.
annotation_type
fixed_positions
=
database
.
fixed_positions
memory_demanding
=
(
database
.
memory_demanding
if
hasattr
(
database
,
"
memory_demanding
"
)
else
False
)
else
:
annotation_type
=
None
fixed_positions
=
None
@@ -16,7 +19,7 @@ else:
def
load
(
annotation_type
,
fixed_positions
=
None
):
transformer
=
embedding_transformer_112x112
(
ArcFaceInsightFace
(),
annotation_type
,
fixed_positions
,
color_channel
=
"
rgb
"
ArcFaceInsightFace
(
memory_demanding
=
memory_demanding
),
annotation_type
,
fixed_positions
,
color_channel
=
"
rgb
"
)
algorithm
=
Distance
()
Loading