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
sjromuel
Masterarbeit
Commits
040c19c5
Commit
040c19c5
authored
Dec 02, 2020
by
sjromuel
Browse files
d
parent
1f1795a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
RobinNet/dice_gt_seg.py
View file @
040c19c5
...
...
@@ -18,7 +18,7 @@ from nets.Unet import dice_loss
def
main
():
mr
=
Fals
e
mr
=
Tru
e
if
mr
:
file_path
=
"data/npy_thresh/"
gt_types
=
[
'ctseg'
,
'ctthresh'
,
'unetpred'
]
...
...
@@ -190,10 +190,6 @@ def main():
all3dhdds
.
append
(
hdd3d
)
except
:
pass
dice_Score16
.
append
(
np
.
mean
(
patient_dsc
))
print
(
"Dice Score for patient"
,
patientnumber
,
np
.
mean
(
patient_dsc
))
print
(
"All 3d-HDDs for"
,
gt_type
,
": "
,
all3dhdds
)
#print("Dice-Score mean: ", np.mean(dice_Score16))
#print("Dice-Score std: ", np.std(dice_Score16))
...
...
@@ -429,4 +425,4 @@ def show_loss_plot(slice, loss_list):
if
__name__
==
"__main__"
:
main
()
main
()
\ No newline at end of file
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