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
00cff2d9
Commit
00cff2d9
authored
Nov 25, 2020
by
lucas_miranda
Browse files
updated dependencies
parent
4272470e
Pipeline
#87788
failed with stage
in 20 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deepof/models.py
View file @
00cff2d9
...
@@ -334,7 +334,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -334,7 +334,7 @@ class SEQ_2_SEQ_GMVAE:
padding
=
"causal"
,
padding
=
"causal"
,
activation
=
"elu"
,
activation
=
"elu"
,
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
Model_E1
=
Bidirectional
(
Model_E1
=
Bidirectional
(
LSTM
(
LSTM
(
...
@@ -343,7 +343,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -343,7 +343,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
True
,
return_sequences
=
True
,
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_constraint
=
UnitNorm
(
axis
=
0
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
Model_E2
=
Bidirectional
(
Model_E2
=
Bidirectional
(
...
@@ -353,7 +353,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -353,7 +353,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
False
,
return_sequences
=
False
,
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_constraint
=
UnitNorm
(
axis
=
0
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
Model_E3
=
Dense
(
Model_E3
=
Dense
(
...
@@ -361,14 +361,14 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -361,14 +361,14 @@ class SEQ_2_SEQ_GMVAE:
activation
=
"elu"
,
activation
=
"elu"
,
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
Model_E4
=
Dense
(
Model_E4
=
Dense
(
self
.
DENSE_2
,
self
.
DENSE_2
,
activation
=
"elu"
,
activation
=
"elu"
,
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_constraint
=
UnitNorm
(
axis
=
0
),
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
# Decoder layers
# Decoder layers
...
@@ -380,13 +380,13 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -380,13 +380,13 @@ class SEQ_2_SEQ_GMVAE:
self
.
DENSE_2
,
self
.
DENSE_2
,
activation
=
"elu"
,
activation
=
"elu"
,
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
Model_D2
=
Dense
(
Model_D2
=
Dense
(
self
.
DENSE_1
,
self
.
DENSE_1
,
activation
=
"elu"
,
activation
=
"elu"
,
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
Model_D3
=
RepeatVector
(
input_shape
[
1
])
Model_D3
=
RepeatVector
(
input_shape
[
1
])
Model_D4
=
Bidirectional
(
Model_D4
=
Bidirectional
(
...
@@ -396,7 +396,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -396,7 +396,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
True
,
return_sequences
=
True
,
kernel_constraint
=
UnitNorm
(
axis
=
1
),
kernel_constraint
=
UnitNorm
(
axis
=
1
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
Model_D5
=
Bidirectional
(
Model_D5
=
Bidirectional
(
...
@@ -406,7 +406,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -406,7 +406,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
True
,
return_sequences
=
True
,
kernel_constraint
=
UnitNorm
(
axis
=
1
),
kernel_constraint
=
UnitNorm
(
axis
=
1
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
...
@@ -415,7 +415,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -415,7 +415,7 @@ class SEQ_2_SEQ_GMVAE:
self
.
DENSE_1
,
self
.
DENSE_1
,
activation
=
"elu"
,
activation
=
"elu"
,
kernel_initializer
=
he_uniform
(),
kernel_initializer
=
he_uniform
(),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
Model_P2
=
Bidirectional
(
Model_P2
=
Bidirectional
(
LSTM
(
LSTM
(
...
@@ -424,7 +424,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -424,7 +424,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
True
,
return_sequences
=
True
,
kernel_constraint
=
UnitNorm
(
axis
=
1
),
kernel_constraint
=
UnitNorm
(
axis
=
1
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
Model_P3
=
Bidirectional
(
Model_P3
=
Bidirectional
(
...
@@ -434,7 +434,7 @@ class SEQ_2_SEQ_GMVAE:
...
@@ -434,7 +434,7 @@ class SEQ_2_SEQ_GMVAE:
recurrent_activation
=
"sigmoid"
,
recurrent_activation
=
"sigmoid"
,
return_sequences
=
True
,
return_sequences
=
True
,
kernel_constraint
=
UnitNorm
(
axis
=
1
),
kernel_constraint
=
UnitNorm
(
axis
=
1
),
use_bias
=
Fals
e
,
use_bias
=
Tru
e
,
)
)
)
)
...
...
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