Commit a682de99 authored by Amir MOHAMMADI's avatar 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
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment