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
307d974b
Commit
307d974b
authored
4 years ago
by
Laurent COLBOIS
Browse files
Options
Downloads
Patches
Plain Diff
Fix legacy helpers to correctly handle transform arguments when using fixed annotations
parent
23010aa2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!97
[Fix] Legacy helpers with fixed annotations
Pipeline
#47414
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/face/config/baseline/helpers.py
+1
-1
1 addition, 1 deletion
bob/bio/face/config/baseline/helpers.py
with
1 addition
and
1 deletion
bob/bio/face/config/baseline/helpers.py
+
1
−
1
View file @
307d974b
...
@@ -316,7 +316,7 @@ def crop_80x64(annotation_type, fixed_positions=None, color_channel="gray"):
...
@@ -316,7 +316,7 @@ def crop_80x64(annotation_type, fixed_positions=None, color_channel="gray"):
)
)
transform_extra_arguments
=
(
transform_extra_arguments
=
(
None
if
cropped_positions
is
None
else
((
"
annotations
"
,
"
annotations
"
),)
None
if
(
cropped_positions
is
None
or
fixed_positions
is
not
None
)
else
((
"
annotations
"
,
"
annotations
"
),)
)
)
return
face_cropper
,
transform_extra_arguments
return
face_cropper
,
transform_extra_arguments
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