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

InvalidArgumentError: labels contains negative values #61

Open
Sirius5272 opened this issue Oct 18, 2019 · 0 comments
Open

InvalidArgumentError: labels contains negative values #61

Sirius5272 opened this issue Oct 18, 2019 · 0 comments

Comments

@Sirius5272
Copy link

hi, I am trying to run the model and get this Error:
InvalidArgumentError (see above for traceback): assertion failed: [labels contains negative values] [Condition x >= 0 did not hold element-wise:] [x (Reshape_10:0) = ] [-1 2 2...]
[[node confusion_matrix_2/assert_non_negative/assert_less_equal/Assert/AssertGuard/Assert (defined at /home/fdse/anaconda3/envs/xjz/lib/python3.6/site-packages/tf_metrics/init.py:130) ]]
[[node cond/rnn_1/while/GreaterEqual (defined at main.py:131) ]]

Can u please guide me?
And thanks for your work!

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