多分类模型:输出层使用'softmax'作为激活函数,loss函数使用'categorical_crossentropy'分类交叉熵;
二分类模型:输出层使用'sigmoid'作为激活函数,loss函数使用'binary_crossentropy'二元交叉熵;
多分类模型:输出层使用'softmax'作为激活函数,loss函数使用'categorical_crossentropy'分类交叉熵;
二分类模型:输出层使用'sigmoid'作为激活函数,loss函数使用'binary_crossentropy'二元交叉熵;