From b6046049dcffc56a9a2409d24272a79c81c07950 Mon Sep 17 00:00:00 2001 From: Tiago Freitas Pereira <tiagofrepereira@gmail.com> Date: Tue, 5 May 2020 12:04:38 +0200 Subject: [PATCH] Replaced collections.callable by object --- bob/bio/base/pipelines/vanilla_biometrics/legacy.py | 2 +- bob/bio/base/transformers/algorithm.py | 2 +- bob/bio/base/transformers/extractor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bob/bio/base/pipelines/vanilla_biometrics/legacy.py b/bob/bio/base/pipelines/vanilla_biometrics/legacy.py index 4ce85e62..3dd74ec7 100644 --- a/bob/bio/base/pipelines/vanilla_biometrics/legacy.py +++ b/bob/bio/base/pipelines/vanilla_biometrics/legacy.py @@ -168,7 +168,7 @@ class BioAlgorithmLegacy(BioAlgorithm): Parameters ---------- - instance: ``collection.callable`` + instance: object Callable function that instantiates the :any:`bob.bio.base.algorithm.Algorithm` diff --git a/bob/bio/base/transformers/algorithm.py b/bob/bio/base/transformers/algorithm.py index e046842f..b60adf4a 100644 --- a/bob/bio/base/transformers/algorithm.py +++ b/bob/bio/base/transformers/algorithm.py @@ -26,7 +26,7 @@ class AlgorithmTransformer(TransformerMixin, BaseEstimator): Parameters ---------- - instance: ``collections.callable`` + instance: object Callable function that instantiates the bob.bio.base.algorithm.Algorithm """ diff --git a/bob/bio/base/transformers/extractor.py b/bob/bio/base/transformers/extractor.py index 30385954..bad554c2 100644 --- a/bob/bio/base/transformers/extractor.py +++ b/bob/bio/base/transformers/extractor.py @@ -13,7 +13,7 @@ class ExtractorTransformer(TransformerMixin, BaseEstimator): Parameters ---------- - instance: ``collections.callable`` + instance: object Instance of `bob.bio.base.extractor.Extractor` model_path: ``str`` -- GitLab