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.pad.face
Commits
a682de99
Commit
a682de99
authored
Nov 05, 2020
by
Amir MOHAMMADI
Browse files
Merge branch 'fix_log' into 'master'
Removes unnecessary logger warning See merge request
!92
parents
1897e934
ca8b82e3
Pipeline
#44920
failed with stages
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/preprocessor/FaceCropAlign.py
View file @
a682de99
...
...
@@ -624,7 +624,6 @@ class FaceCropAlign(Preprocessor):
# sanity check:
if
not
self
.
rgb_output_flag
and
len
(
image
.
shape
)
!=
2
:
logger
.
warning
(
"This image has 3 channels"
)
if
self
.
normalization_function
is
not
None
:
import
bob.ip.color
image
=
bob
.
ip
.
color
.
rgb_to_gray
(
image
)
...
...
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