我发现使用sparse_softmax_cross_entropy_with_logits你最多只能有300个标签? 我什么也没找到。 如果我有更多呢?编辑: 如果我不限制到300个类,我会得到以下跟踪: 2019-03-05 15:24:17.899610: W tensorflow/core/framework/op_kernel.cc:1273]sparse_xent_op.cc:90 : Invalid argument: Received a label value of 428 which is o