Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
SparseConvNet
Commits
711076a2
Unverified
Commit
711076a2
authored
Jun 24, 2019
by
Ben Graham
Committed by
GitHub
Jun 24, 2019
Browse files
Fix iou
parent
d80ef3e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/ScanNet/iou.py
examples/ScanNet/iou.py
+1
-1
No files found.
examples/ScanNet/iou.py
View file @
711076a2
...
...
@@ -27,7 +27,7 @@ def get_iou(label_id, confusion):
# false positives
fp
=
np
.
longlong
(
confusion
[
label_id
,
:].
sum
())
-
tp
# false negatives
fn
=
np
.
longlong
(
confusion
[:,
label_id
].
sum
())
fn
=
np
.
longlong
(
confusion
[:,
label_id
].
sum
())
-
tp
denom
=
(
tp
+
fp
+
fn
)
if
denom
==
0
:
...
...
Write
Preview
Markdown
is supported
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