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
ba91b083
Commit
ba91b083
authored
May 21, 2020
by
lucas_miranda
Browse files
Created models.py for storing model classes that take parameter kwargs as input
parent
0ad5faef
Changes
2
Hide whitespace changes
Inline
Side-by-side
source/hypermodels.py
View file @
ba91b083
...
...
@@ -439,7 +439,3 @@ class SEQ_2_SEQ_MMVAE(HyperModel):
def
build
(
self
,
hp
):
pass
# TODO:
# 1) Refactor VAE losses to be proper losses, using K.add_loss() instead of global variables!
source/models.py
0 → 100644
View file @
ba91b083
# @author lucasmiranda42
from
keras
import
backend
as
K
from
tensorflow.keras
import
Input
,
Model
,
Sequential
from
tensorflow.keras.constraints
import
Constraint
,
UnitNorm
from
tensorflow.keras.layers
import
Bidirectional
,
Dense
,
Dropout
from
tensorflow.keras.layers
import
Lambda
,
Layer
,
LSTM
from
tensorflow.keras.layers
import
RepeatVector
,
TimeDistributed
from
tensorflow.keras.losses
import
Huber
from
tensorflow.keras.optimizers
import
Adam
import
tensorflow
as
tf
class
SEQ_2_SEQ_AE
:
pass
class
SEQ_2_SEQ_VAE
:
pass
class
SEQ_2_SEQ_MVAE
(
HyperModel
):
pass
class
SEQ_2_SEQ_MMVAE
(
HyperModel
):
pass
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