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.measure
Commits
3c84d87b
Commit
3c84d87b
authored
Mar 09, 2016
by
Tiago de Freitas Pereira
Browse files
Fixed weird bug. Don't know how this was passing on travis
parent
dc9b67ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/openbr.py
View file @
3c84d87b
...
...
@@ -281,7 +281,7 @@ def write_score_file(
equal_indices
=
numpy
.
where
(
mask
[
p
]
==
0xff
)
if
len
(
equal_indices
):
# model id found, use the first one
probes_ids
.
append
(
models_ids
[
equal_indices
[
0
]])
probes_ids
.
append
(
models_ids
[
equal_indices
[
0
]
[
0
]
])
else
:
# no model found; add non-existing id
probes_ids
.
append
(
"unknown"
)
...
...
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