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
5505b5b6
Commit
5505b5b6
authored
Nov 23, 2020
by
sjromuel
Browse files
f
parent
f0d41b19
Changes
2
Hide whitespace changes
Inline
Side-by-side
RobinNet/13unet_mrt_threshgt.py
View file @
5505b5b6
...
...
@@ -72,6 +72,8 @@ class mrt_unet(BaseNetwork):
X_img_list
.
append
(
elem
)
elif
elem
.
endswith
(
self
.
gt_type
+
".gipl.npy"
):
GT_img_list
.
append
(
elem
)
if
self
.
gt_type
==
"_mr_ctunetpred"
:
X_img_list
.
remove
(
"P17_mr_T1.gipl.npy"
)
list
.
sort
(
X_img_list
)
list
.
sort
(
GT_img_list
)
...
...
RobinNet/nets/BaseNetwork.py
View file @
5505b5b6
...
...
@@ -122,8 +122,7 @@ class BaseNetwork:
X_img_list
.
append
(
elem
)
elif
elem
.
endswith
(
self
.
gt_type
+
".gipl.npy"
):
GT_img_list
.
append
(
elem
)
if
self
.
gt_type
==
"_mr_ctunetpred"
:
X_img_list
.
remove
(
"P17_mr_T1.gipl.npy"
)
list
.
sort
(
X_img_list
)
list
.
sort
(
GT_img_list
)
...
...
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