报错内容:
Traceback (most recent call last):
File "C:\Users\xuan\.conda\envs\pytorch1-6\lib\site-packages\scipy\sparse\_sputils.py", line 225, in isintlike
operator.index(x)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
解决方法:
当前版本的numpy不支持使用浮点数作为步长,需要降低numpy版本。
- interpreted TypeError integer cannot objectinterpreted typeerror integer cannot typeerror integers indices string scalar typeerror converted integer properties typeerror reading cannot typeerror undefined property cannot typeerror nonetype python object bytes-like typeerror required object typeerror callable错误object typeerror cannot handle data typeerror undefined convert cannot