diff --git a/bob/bio/face/config/baseline/opencv_pipe.py b/bob/bio/face/config/baseline/opencv_pipe.py index aafe25f7adb8158115fe50cac1b5e890064bbb4d..166c73b80802315988f1a2c7d0e90d8a7ddc8478 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 aa33f11f510faa657337800b0969ed16d350f4b8..02e30ac5109f4d32cb93c768ec7a78195f25de94 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