TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘float’ 单纯的传参类型错误而已,具体解决需要到源码里看下,人家需要什么类型的数据。 尤其注意np.array,np.mat,list这些是不一样的。