diff --git a/bob/bio/base/algorithm/Algorithm.py b/bob/bio/base/algorithm/Algorithm.py index fec131a4e295e2443b755b3185f497600ad14757..990c2093937a43dab78388d38e0a3b0996b05e82 100644 --- a/bob/bio/base/algorithm/Algorithm.py +++ b/bob/bio/base/algorithm/Algorithm.py @@ -65,10 +65,6 @@ class Algorithm: The minimum file size of model_file in bytes. If the saved file is smaller than this, it is assumed to be corrupt and it will be generated again. - min_t_model_file_size : int - The minimum file size of t_model_file in bytes. If the saved file is smaller - than this, it is assumed to be corrupt and it will be generated again. - kwargs : ``key=value`` pairs A list of keyword arguments to be written in the `__str__` function. @@ -102,7 +98,6 @@ class Algorithm: self.min_projected_file_size = min_projected_file_size self.min_enroller_file_size = min_enroller_file_size self.min_model_file_size = min_model_file_size - self.min_t_model_file_size = min_t_model_file_size self._kwargs = kwargs self._kwargs.update({'multiple_model_scoring':multiple_model_scoring, 'multiple_probe_scoring':multiple_probe_scoring}) diff --git a/bob/bio/base/tools/algorithm.py b/bob/bio/base/tools/algorithm.py index 98486e9da03c3516cabba71bf42e57b2025ec1f6..c554d91714f018ce6eccab8f5a4e3387e991dfe6 100644 --- a/bob/bio/base/tools/algorithm.py +++ b/bob/bio/base/tools/algorithm.py @@ -310,7 +310,7 @@ def enroll(algorithm, extractor, compute_zt_norm, indices = None, groups = ['dev # Removes old file if required if not utils.check_file(t_model_file, force, - algorithm.min_t_model_file_size): + algorithm.min_model_file_size): t_enroll_files = fs.t_enroll_files(t_model_id, group, 'projected' if algorithm.use_projected_features_for_enrollment else 'extracted') if allow_missing_files: