Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
0016131f
Commit
0016131f
authored
Apr 23, 2021
by
lucas_miranda
Browse files
Added warmup parameters to model output naming
parent
86a1c09e
Pipeline
#100182
passed with stages
in 20 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deepof/train_utils.py
View file @
0016131f
...
...
@@ -102,7 +102,7 @@ def get_callbacks(
elif
reg_cat_clusters
and
reg_cluster_variance
:
latreg
=
"categorical+variance"
run_ID
=
"{}{}{}{}{}{}{}{}{}{}{}{}{}"
.
format
(
run_ID
=
"{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}
"
.
format
(
(
"GMVAE"
if
variational
else
"AE"
),
(
"_input_type={}"
.
format
(
input_type
)
if
input_type
else
"coords"
),
(
"_window_size={}"
.
format
(
X_train
.
shape
[
1
])),
...
...
@@ -110,8 +110,8 @@ def get_callbacks(
(
"_PhenoPred={}"
.
format
(
phenotype_prediction
)
if
variational
else
""
),
(
"_RuleBasedPred={}"
.
format
(
rule_based_prediction
)
if
variational
else
""
),
(
"_loss={}"
.
format
(
loss
)
if
variational
else
""
),
(
"loss_warmup={}
_
"
.
format
(
loss_warmup
)),
(
"warmup_mode={}
_
"
.
format
(
warmup_mode
)),
(
"
_
loss_warmup={}"
.
format
(
loss_warmup
)),
(
"
_
warmup_mode={}"
.
format
(
warmup_mode
)),
(
"_encoding={}"
.
format
(
logparam
[
"encoding"
])
if
logparam
is
not
None
else
""
),
(
"_k={}"
.
format
(
logparam
[
"k"
])
if
logparam
is
not
None
else
""
),
(
"_latreg={}"
.
format
(
latreg
)),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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