From a080cb66063565ae74569090b42ce0e57b541806 Mon Sep 17 00:00:00 2001 From: Pavel Korshunov <pavel.korshunov@idiap.ch> Date: Wed, 14 Feb 2018 17:29:46 +0100 Subject: [PATCH] fixing test_video_face_crop and conda recipe --- bob/pad/face/test/test.py | 4 ++-- conda/meta.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bob/pad/face/test/test.py b/bob/pad/face/test/test.py index af04373b..3d067692 100644 --- a/bob/pad/face/test/test.py +++ b/bob/pad/face/test/test.py @@ -248,8 +248,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]) == 1251500 - assert np.sum(faces[-1][1]) == 1251500 + assert np.sum(faces[0][1]) == 1253048 + assert np.sum(faces[-1][1]) == 1253048 #============================================================================== diff --git a/conda/meta.yaml b/conda/meta.yaml index 8279f74d..f796d1de 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -60,6 +60,7 @@ test: - scikit-learn - bob.ip.dlib - bob.ip.facelandmarks + - bob.db.replay about: home: https://www.idiap.ch/software/bob/ -- GitLab