Commit 984e2188 authored by Anjith GEORGE's avatar Anjith GEORGE

unit tests

parent b13d85c2
Pipeline #29993 passed with stage
in 14 minutes and 10 seconds
......@@ -222,9 +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]) == 1238302, np.sum(faces[0][1])
assert np.sum(faces[-1][1]) == 1238302, np.sum(faces[-1][1])
assert np.sum(faces[0][1]) == 1238664
assert np.sum(faces[-1][1]) == 1238664
# =============================================================================
def test_video_face_crop_align_block_patch():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment