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
f409d5ae
Commit
f409d5ae
authored
Nov 23, 2020
by
sjromuel
Browse files
d
parent
137b996a
Changes
1
Hide whitespace changes
Inline
Side-by-side
RobinNet/threshunetpred_gts.py
View file @
f409d5ae
...
...
@@ -145,7 +145,7 @@ def main():
y_pred
=
Unet
(
image
,
weights
,
filter_multiplier
,
training
=
False
)
if
npys3d
:
y_predflip
=
np
.
flip
(
y_pred
.
numpy
()
)
y_predflip
=
y_pred
.
numpy
()
if
y_pred3d
==
[]:
y_pred3d
=
y_predflip
[:,:,:,
1
]
else
:
...
...
@@ -178,7 +178,6 @@ def main():
if
npys3d
:
y_pred3d
=
np
.
flip
(
y_pred3d
)
filename
=
"P"
+
str
(
TP_num
).
zfill
(
2
)
y_pred3d
=
cut_mr_ctunetpred
(
filename
,
y_pred3d
)
#np.save(img_savepath + "P" + str(TP_num).zfill(2) + "_pred3D", y_pred3d)
...
...
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