TypeError: ufunc ‘expit‘ not supported for the input types
错误:TypeError: ufunc ‘expit’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’在训练网络的时候,用Sigmod作为激活函数,但出现了上述错误,原因。。。不清楚QAQ。不过应该是因为数据是用pandas读入的,有些问题,dataframe中的数据类型有一
原创
2020-09-29 16:07:10 ·
1123 阅读 ·
0 评论