📜  形状 (none, 1) 和 (none, 5) 不兼容 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:44.445000             🧑  作者: Mango

代码示例1
Change Categorical Cross Entropy to Binary Cross Entropy since your output label is binary. Also Change Softmax to Sigmoid since Sigmoid is the proper activation function for binary data