报错:ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

 

    怀疑是因为安装了和cuda不匹配的torch 导致的,本地的ubuntu是cuda 11.0,安装了cuda 11.3.

    只能删除虚拟环境,重新安装,根据提示逐步安装 pip install torch

posted @ 2022-04-20 15:29  呦呦南山  阅读(6142)  评论(0编辑  收藏  举报