Jupyter 报错:can‘t convert np.ndarray of type numpy.object_.

can’t convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.
解决方案:使用.astype(“float64”)强制转化
Jupyter 报错:can‘t convert np.ndarray of type numpy.object_._第1张图片

你可能感兴趣的:(深度学习,jupyter)