MultiFace crop issue
Hi @lcolbois
If I run
./bin/bob bio pipeline vanilla-biometrics multipie-pose arcface-insightface -m -c -o /path/ -vvv
I get the following issue.
allow_scoring_with_all_biometric_references=allow_scoring_with_all_biometric_references,
File "/remote/idiap.svm/user.active/tpereira/gitlab/bob/bob.nightlies/src/bob.bio.base/bob/bio/base/pipelines/vanilla_biometrics/pipelines.py", line 100, in __call__
f" >> Vanilla Biometrics: Training background model with pipeline {self.transformer}"
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/base.py", line 260, in __repr__
repr_ = pp.pformat(self)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/pprint.py", line 144, in pformat
self._format(object, sio, 0, 0, {}, 0)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/pprint.py", line 161, in _format
rep = self._repr(object, context, level)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/pprint.py", line 393, in _repr
self._depth, level)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 181, in format
changed_only=self._changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 437, in _safe_repr
v, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 406, in _safe_repr
o, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 406, in _safe_repr
o, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 437, in _safe_repr
v, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 437, in _safe_repr
v, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 437, in _safe_repr
v, context, maxlevels, level, changed_only=changed_only)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 425, in _safe_repr
params = _changed_params(object)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/utils/_pprint.py", line 91, in _changed_params
params = estimator.get_params(deep=False)
File "/idiap/user/tpereira/conda/envs/bob.nightlies/lib/python3.7/site-packages/sklearn/base.py", line 195, in get_params
value = getattr(self, key)
AttributeError: 'MultiFaceCrop' object has no attribute 'allow_upside_down_normalized_faces'
Since you've implemented this feature, do you mind having a look?
Thanks
ping @ageorge