Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.face
Merge requests
!97
unit tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
unit tests
unit_test
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Anjith GEORGE
requested to merge
unit_test
into
master
5 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Reverts the unit tests
0
0
Merge request reports
Viewing commit
984e2188
Show latest version
1 file
+
2
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
984e2188
unit tests
· 984e2188
Anjith GEORGE
authored
5 years ago
bob/pad/face/test/test.py
+
2
−
3
Options
@@ -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
():
Loading