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
03224954
Commit
03224954
authored
Oct 06, 2021
by
Lamping, Christian
Browse files
Update utils.py
parent
a555eb27
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
View file @
03224954
...
...
@@ -306,7 +306,7 @@ class Dataset(object):
scores
.
append
(
score
)
image
=
self
.
load_image
(
image_id
)
mask
=
np
.
stack
(
instance_masks
)
mask
=
np
.
d
stack
(
instance_masks
)
class_ids
=
np
.
array
(
class_ids
,
dtype
=
np
.
int32
)
scores
=
np
.
array
(
scores
,
dtype
=
np
.
float32
)
_
,
window
,
scale
,
padding
,
crop
=
resize_image
(
...
...
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