Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variational Dropout in Keras #5

Open
cjnolet opened this issue Dec 28, 2017 · 5 comments
Open

Variational Dropout in Keras #5

cjnolet opened this issue Dec 28, 2017 · 5 comments

Comments

@cjnolet
Copy link

cjnolet commented Dec 28, 2017

I notice in your readme it states the Variational Dropout algorithm has been implemented in Keras’ RNN library.

I want to verify that it is implemented exactly as described in your paper (that the exact dropped out connections remain constant throughout training).

I’m implementing the encoder-decoder framework from the paper on Uber’s timeseries anomaly prediction model.

Thank you.

@yaringal
Copy link
Owner

It should be - I helped with the implementation!

@rohitash-chandra
Copy link

rohitash-chandra commented Dec 28, 2017 via email

@cjnolet
Copy link
Author

cjnolet commented Dec 28, 2017 via email

@yaringal
Copy link
Owner

Keras has a new flag Training (I think) that you can pass in the construction of the layer - this should keep dropout enabled at test time as well. Otherwise, have a look at some of my recent repos for how to compile a Keras model to do sampling at test time (eg acquisition function example)

@rutagara
Copy link

rutagara commented Dec 5, 2018

Hi @cjnolet,

I am also trying to reproduce the framework from the Uber's paper in Python with Keras and Tensorflow backend but I'm not sure about the correctness of my implementation.
Did you manage to code it, and is the code available somewhere?

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants