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
dba020ba
Commit
dba020ba
authored
Jun 06, 2020
by
lucas_miranda
Browse files
Initialised number of components in SEQ2SEQ_GMVAEP
parent
0d43d1e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/models.py
View file @
dba020ba
...
...
@@ -609,6 +609,7 @@ class SEQ_2_SEQ_MMVAEP:
loss
=
"ELBO+MMD"
,
kl_warmup_epochs
=
0
,
mmd_warmup_epochs
=
0
,
number_of_components
=
1
,
):
self
.
input_shape
=
input_shape
self
.
CONV_filters
=
CONV_filters
...
...
@@ -622,6 +623,7 @@ class SEQ_2_SEQ_MMVAEP:
self
.
loss
=
loss
self
.
kl_warmup
=
kl_warmup_epochs
self
.
mmd_warmup
=
mmd_warmup_epochs
self
.
number_of_components
=
number_of_components
assert
(
"ELBO"
in
self
.
loss
or
"MMD"
in
self
.
loss
...
...
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