Skip to content

InvalidArgumentError: labels contains negative values #61

@Sirius5272

Description

@Sirius5272

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions