deeplearning4j / deeplearning4j-examples

Deeplearning4j Examples (DL4J, DL4J Spark, DataVec)
http://deeplearning4j.konduit.ai
Other
2.46k stars 1.82k forks source link

VariationalAutoEncoderExample problem #441

Closed Boeckie closed 6 years ago

Boeckie commented 7 years ago

Hi,

I'm trying to reproduce the VariationalAutoEncoderExample results as displayed in the "Deep Learning" book on page 225 and page 227.

I've experimented with the parameters as defined in the source, as defined in the book and as defined on http://blog.fastforwardlabs.com/2016/08/12/introducing-variational-autoencoders-in-prose-and.html.

For some reason, the different digits in my scatter-plot are not properly clustered (huge overlap). Did anyone succeed in reproducing the result from the book?

All feedback is appreciated!

Thanks! Bart

AlexDBlack commented 7 years ago

I assume you've seen this? https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/unsupervised/variational/VariationalAutoEncoderExample.java

As for the hyperparameters - I'd have to see exactly what you are running before I can make any comments.

Boeckie commented 7 years ago

Hi Alex,

Thanks for the feedback!

The code you referenced is indeed one of the experiments I ran. So far, the scatter-plot is not properly clustered.

Thanks, Bart

AlexDBlack commented 7 years ago

Here's what I'm getting from the example (for the last training iteration, via the slider)... you are getting something different?

image

RobAltena commented 6 years ago

Closing on inactivity.

sercharpak commented 5 years ago

Hello !! I'm running the VAE Example (dl4j-examples/src/main/java/org/deeplearning4j/examples/unsupervised/variational/VariationalAutoEncoderExample.java) as it is in the github. It runs properly but then when the visualization windows pop-up, they only properly show the first iteration (the rest of iterations just appear blanck (only the grid appears for the latent space plot and the generated MINST digits are all black).

Is this a normal behaviour_ Is there something to modify to the original github code ?

Thank you so much. This is awesome!

(I'm running in Windows 10)