From 591326c9c1029f475256adeba0dddab4ede7b5cc Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 24 Apr 2019 10:35:34 +0200 Subject: [PATCH] Move bob.ip.dlib and bob.ip.facelandmarks to test dependencies --- bob/pad/face/test/test.py | 4 ++-- conda/meta.yaml | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/bob/pad/face/test/test.py b/bob/pad/face/test/test.py index ed6c8d2c..7962b8d6 100644 --- a/bob/pad/face/test/test.py +++ b/bob/pad/face/test/test.py @@ -222,8 +222,8 @@ def test_video_face_crop(): assert len(faces) == 3 assert faces[0][1].shape == (3, 64, 64) assert faces[-1][1].shape == (3, 64, 64) - assert np.sum(faces[0][1]) == 1238664 - assert np.sum(faces[-1][1]) == 1238664 + assert np.sum(faces[0][1]) == 1238302, np.sum(faces[0][1]) + assert np.sum(faces[-1][1]) == 1238302, np.sum(faces[-1][1]) # ============================================================================= diff --git a/conda/meta.yaml b/conda/meta.yaml index 3283e022..a8326abd 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -21,7 +21,7 @@ requirements: - python {{ python }} - setuptools {{ setuptools }} - six {{ six }} - - numpy >=1.11 + - numpy - bob.extension - bob.bio.base - bob.io.base @@ -33,17 +33,17 @@ requirements: - bob.ip.color - bob.ip.qualitymeasure - bob.learn.libsvm - - bob.ip.dlib - - bob.ip.facelandmarks - bob.rppg.base >=2.0.0 + - opencv + - scikit-learn + - scikit-image run: - python - setuptools - six - - numpy >=1.11 - - scikit-learn - - scikit-image - - opencv + - {{ pin_compatible('numpy') }} + - {{ pin_compatible('scikit-learn') }} + - {{ pin_compatible('scikit-image') }} test: imports: @@ -67,7 +67,9 @@ test: - bob.db.mobio - bob.db.maskattack - bob.db.casiasurf - - bob.rppg.base + - bob.ip.dlib + - bob.ip.facelandmarks + - bob.ip.mtcnn # [linux] about: home: https://www.idiap.ch/software/bob/ -- GitLab