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
Lamping, Christian
chicken_segmentation_dataset
Commits
906c062e
Commit
906c062e
authored
Oct 06, 2021
by
Lamping, Christian
Browse files
Update utils.py
parent
ea4695fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
View file @
906c062e
...
...
@@ -561,7 +561,7 @@ def display_images(images, titles=None, cols=4, cmap=None, norm=None,
norm: Optional. A Normalize instance to map values to colors.
interpolation: Optional. Image interpolation to use for display.
"""
image
=
np
.
array
(
image
)
image
=
np
.
array
(
image
s
)
titles
=
titles
if
titles
is
not
None
else
[
""
]
*
len
(
images
)
rows
=
len
(
images
)
//
cols
+
1
plt
.
figure
(
figsize
=
(
14
,
14
*
rows
//
cols
))
...
...
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