Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
g207004202
explainable-multimodal-classification
Commits
a0439675
Commit
a0439675
authored
May 11, 2021
by
cz1716
Browse files
minor change
parent
63ca1361
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/mmxai/text_removal/test_smart_text_removal.py
View file @
a0439675
...
...
@@ -110,7 +110,7 @@ def testGenerateTextMaskWithMaskEnlargement():
[
2.5
,
0.5
],
[
2.6
,
2.6
]]])
mask
=
remover
.
generateTextMask
(
vertices
,
img_height
,
img_width
,
enlargement
=
0.2
)
mask
=
remover
.
generateTextMask
(
vertices
,
img_height
,
img_width
,
dilation
=
0.2
)
ideal_mask
=
np
.
zeros
((
10
,
10
),
dtype
=
np
.
uint8
)
ideal_mask
[:
5
,
:
5
]
=
255
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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