Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

cross_entropy_op.h:159 Assertion `label >= 0 && label < feature_size_` failed

Open sshilei opened this issue 7 years ago • 0 comments

Exception: /paddle/paddle/fluid/operators/cross_entropy_op.h:159 Assertion label >= 0 && label < feature_size_ failed (The label is out of the range. 1). terminate called after throwing an instance of 'std::runtime_error' what(): Exception encounter.

样本中label的值都是0和1

sshilei avatar Aug 26 '19 10:08 sshilei