Commit 1ae85bfe authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'unit_test' into 'master'

unit tests

See merge request !97
parents b13d85c2 984e2188
Pipeline #30008 passed with stages
in 15 minutes and 34 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