We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fn = lambda elem: K.switch(K.less_equal(elem, 1.0), K.ones_like(elem), elem) adaptive_std = K.map_fn(fn, adaptive_std)
In author's code is adaptive_std[adaptive_std <= self.eps] = 1
which self.eps = 1e-8
The text was updated successfully, but these errors were encountered:
Btw, change to tf.where() from map_fn results much faster training time
Sorry, something went wrong.
fixed issue #1
8a63759
update adaptive_std with tf.where()
@josephlau Can you please test my updated code https://github.com/llouislu/tensorflow-dain/tree/bugfix-1 if you're still interested? as I don't have access to data and environment to test dain at the moment.
llouislu
Successfully merging a pull request may close this issue.
fn = lambda elem: K.switch(K.less_equal(elem, 1.0), K.ones_like(elem), elem)
adaptive_std = K.map_fn(fn, adaptive_std)
In author's code is
adaptive_std[adaptive_std <= self.eps] = 1
which self.eps = 1e-8
The text was updated successfully, but these errors were encountered: