1.ValueError: Multi-dimensional indexing (e.g. obj[:, None]
) is no longer supported. Convert to a numpy array before indexing instead.
原因: matplotlib 3.4.2 版本低
升级至matplotlib==3.7.0,解决了,不需要改代码
2,RuntimeError: cuDNN version incompatibility: PyTorch was compiled against (8, 5, 0) but found runtime version (8, 1, 1). PyTorch already comes bundled with cuDNN. One
terminal 里输入unset LD_LIBRARY_PATH
3.ubuntu-drivers: command not found
sudo apt-get install ubuntu-drivers-common
error笔记(已解决)
于 2024-04-10 20:02:40 首次发布