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
4265dcf2
Commit
4265dcf2
authored
Nov 27, 2020
by
Robin
Browse files
d
parent
c9f2df7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
RobinNet/allModelsCreatePredNpys.py
View file @
4265dcf2
...
...
@@ -22,26 +22,26 @@ def main():
folds
=
[
"12"
,
"34"
,
"56"
,
"78"
,
"910"
,
"1112"
,
"1314"
,
"1516"
]
folder_path
=
"finalResults/complete_"
unet_models_paths
=
[
"ctfgt2/unet_cv_ctfgt2/"
,
"seg/unet_seg/"
,
"seg/unet_
cv_
seg/"
,
"thresh/unet_cv_thresh/"
,
"segmr/mr_unet_cv_segmr/"
,
"segmr/mr_unet_cv_ctseg/"
,
"segmr/mr_unet_cv_ctthresh/"
,
"segmr/mr_unet_cv_unetpred/"
]
cluster_models_paths
=
[
"ctfgt2/ae_noclass_cv_ctfgt2/"
,
"seg/ae_noclass_seg/"
,
"seg/ae_noclass_
cv_
seg/"
,
"thresh/ae_noclass_cv_thresh/"
]
class_models_paths
=
[
"ctfgt2/ae_class_cv_ctfgt2/"
,
"seg/ae_class_seg/"
,
"seg/ae_class_
cv_
seg/"
,
"thresh/ae_class_cv_thresh/"
]
clusterclass_models_paths
=
[
"ctfgt2/ae_class_cv_ctfgt2/"
,
"seg/ae_class_seg/"
,
"seg/ae_class_
cv_
seg/"
,
"thresh/ae_class_cv_thresh/"
]
modeltypes
=
[
"Unet_"
,
"Cluster_"
,
"Class_"
,
"Cluster_class_"
]
for
modeltype
in
modeltypes
:
if
modeltype
==
"Unet_"
:
model_paths
=
unet_models_paths
elif
modeltype
==
"Cluster_"
:
model_paths
=
=
cluster_models_paths
elif
modeltype
==
"Cluster_"
:
model_paths
=
cluster_models_paths
elif
modeltype
==
"Class_"
:
model_paths
=
class_models_paths
elif
modeltype
==
"Cluster_class_"
:
model_paths
=
clusterclass_models_paths
...
...
RobinNet/rerunModels.py
View file @
4265dcf2
...
...
@@ -19,7 +19,7 @@ from nets.Unet import *
def
main
():
models
=
[
"12"
,
"34"
,
"56"
,
"78"
,
"910"
,
"1112"
,
"1314"
,
"1516"
]
folder_path
=
"finalResults/complete_segmr/mr_unet_cv_
ctthresh
/"
folder_path
=
"finalResults/complete_segmr/mr_unet_cv_
unetpred
/"
#modeltype = "Cluster_"
#modeltype = "Class_"
#modeltype = "Cluster_class_"
...
...
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