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
Lucas Miranda
deepOF
Commits
8af352be
Commit
8af352be
authored
Feb 25, 2021
by
lucas_miranda
Browse files
Added latent regularization control to deepof.data.coordinates.deep_unsupervised_embedding()
parent
7e0a1405
Pipeline
#94294
canceled with stage
in 18 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deepof/train_model.py
View file @
8af352be
...
...
@@ -411,7 +411,7 @@ else:
start_epoch
=
max
(
kl_wu
,
mmd_wu
),
),
],
n_replicas
=
3
,
n_replicas
=
1
,
n_epochs
=
30
,
outpath
=
output_path
,
)
...
...
deepof/train_utils.py
View file @
8af352be
...
...
@@ -545,7 +545,9 @@ def tune_search(
if
hpt_type
==
"hyperband"
:
tuner
=
Hyperband
(
directory
=
os
.
path
.
join
(
outpath
,
"HyperBandx_{}_{}"
.
format
(
loss
,
str
(
date
.
today
()))),
directory
=
os
.
path
.
join
(
outpath
,
"HyperBandx_{}_{}"
.
format
(
loss
,
str
(
date
.
today
()))
),
max_epochs
=
35
,
hyperband_iterations
=
hypertun_trials
,
factor
=
2
,
...
...
@@ -553,7 +555,9 @@ def tune_search(
)
else
:
tuner
=
BayesianOptimization
(
directory
=
os
.
path
.
join
(
outpath
,
"BayOpt_{}_{}"
.
format
(
loss
,
str
(
date
.
today
()))),
directory
=
os
.
path
.
join
(
outpath
,
"BayOpt_{}_{}"
.
format
(
loss
,
str
(
date
.
today
()))
),
max_trials
=
hypertun_trials
,
**
hpt_params
)
...
...
@@ -577,7 +581,7 @@ def tune_search(
epochs
=
n_epochs
,
validation_data
=
(
Xvals
,
yvals
),
verbose
=
1
,
batch_size
=
32
,
batch_size
=
64
,
callbacks
=
callbacks
,
)
...
...
Write
Preview
Markdown
is supported
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