From 2be68a1ccae33c482ed522c8347fd56bea03eee4 Mon Sep 17 00:00:00 2001 From: Xinyi ZHANG <xinyi.zhang@idiap.ch> Date: Thu, 27 May 2021 18:18:14 +0200 Subject: [PATCH] Update bob/bio/face/config/baseline/tf_pipe.py, bob/bio/face/config/baseline/opencv_pipe.py, bob/bio/face/test/test_baselines.py, bob/bio/face/test/test_extractors.py, requirements.txt files --- bob/bio/face/config/baseline/opencv_pipe.py | 7 +++++-- requirements.txt | 4 +--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bob/bio/face/config/baseline/opencv_pipe.py b/bob/bio/face/config/baseline/opencv_pipe.py index aafe25f7..166c73b8 100644 --- a/bob/bio/face/config/baseline/opencv_pipe.py +++ b/bob/bio/face/config/baseline/opencv_pipe.py @@ -50,9 +50,12 @@ transform_extra_arguments = ( else (("annotations", "annotations"),) ) - # Extractor -extractor_transformer = OpenCVModel() + +weights = None # PATH/TO/WEIGHTS +config = None # PATH/TO/CONFIG + +extractor_transformer = OpenCVModel(weights=weights, config=config) # Algorithm diff --git a/requirements.txt b/requirements.txt index aa33f11f..02e30ac5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,5 @@ matplotlib # for plotting mxnet opencv-python six -mxnet -opencv-python scikit-image -scikit-learn # for pipelines Tranformers \ No newline at end of file +scikit-learn # for pipelines Tranformers -- GitLab