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
984e2188
Commit
984e2188
authored
May 07, 2019
by
Anjith GEORGE
Browse files
unit tests
parent
b13d85c2
Pipeline
#29993
passed with stage
in 14 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/test/test.py
View file @
984e2188
...
...
@@ -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