Skip to content

Commit

Permalink
fixed: activation of the last layer of time shift output should be "t…
Browse files Browse the repository at this point in the history
…anh"
  • Loading branch information
naotokui committed Jan 10, 2020
1 parent 3a35f59 commit 6555e01
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion M4L.RhythmVAE/M4L.RhythmVAE.maxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name" : "M4L.RhythmVAE",
"version" : 1,
"creationdate" : 3650640218,
"modificationdate" : 3661333917,
"modificationdate" : 3661526545,
"viewrect" : [ 24.0, 229.0, 300.0, 500.0 ],
"autoorganize" : 1,
"hideprojectwindow" : 0,
Expand Down
Binary file modified release/M4L.RhythmVAE.amxd
Binary file not shown.
2 changes: 1 addition & 1 deletion src/vae.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class ConditionalVAE {
const x4LinearTS = tf.layers.dense({units: intermediateDim, useBias: true, kernelInitializer: 'glorotNormal'}).apply(x3);
const x4NormalisedTS = tf.layers.batchNormalization({axis: 1}).apply(x4LinearTS);
const x4TS = tf.layers.leakyReLU().apply(x4NormalisedTS);
const decoderOutputsTS = tf.layers.dense({units: originalDim, activation: 'sigmoid'}).apply(x4TS);
const decoderOutputsTS = tf.layers.dense({units: originalDim, activation: 'tanh'}).apply(x4TS);
const decoderOutputs = [decoderOutputsOn, decoderOutputsVel, decoderOutputsTS];

// Decoder model
Expand Down

0 comments on commit 6555e01

Please sign in to comment.