赞
踩
问题描述:AttributeError("module 'numpy' has no attribute 'float'.\n`np.float` was a deprecated alias for the builtin `float`.
解决方案:numpy已经移除了np.float(numpy.float)这个类型,直接使用float即可。