TensorFlow 報錯:InvalidArgumentError (see above for traceback): tags and values not the same shape: [

這裏出錯的原因是定義的 loss 採用 sparse_softmax_cross_entropy_with_logits loss = tf.nn.sparse_softmax_cross_entropy_with_logits(labels=tf.argmax(labels_holder,1), logits=label_predict) 查閱 TensorFlow API:https://te
相關文章
相關標籤/搜索