Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.face
Commits
1ae85bfe
Commit
1ae85bfe
authored
May 08, 2019
by
Amir MOHAMMADI
Browse files
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/test/test.py
View file @
1ae85bfe
...
...
@@ -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
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment