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

non_neg_mask not work #60

Open
jasstionzyf opened this issue Oct 21, 2019 · 0 comments
Open

non_neg_mask not work #60

jasstionzyf opened this issue Oct 21, 2019 · 0 comments

Comments

@jasstionzyf
Copy link

as i read loss function, notice:

b. get non-negative mask

non_neg_mask = tf.fill(tf.shape(labels), -1.0, name='non_neg')
non_neg_mask = tf.cast(tf.not_equal(labels, non_neg_mask), tf.float32)
tf.summary.histogram('non_neg', non_neg_mask)

but based on above code , non_neg_mask is alwayes like : [1,1,1,1,1,1,1]
wonder non_neg_mask is useless?

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

1 participant