Tests are failing after bob.ip.base modifications
https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/247103
=================================== FAILURES ===================================
___________________________________ test_SQI ___________________________________
def test_SQI():
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_picklability.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError
___________________________________ test_sqi ___________________________________
def test_sqi():
# read input
image, annotation = _image(), _annotation()
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_preprocessors.py:310:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError