来源:https://blog.csdn.net/zziahgf/article/details/72548128

 

当执行官方第二个例子时,提示xs = torch.inverse(A)*b错误

是因为缺少OpenBLAS,安装上即可

git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS
make NO_AFFINITY=1 USE_OPENMP=1
sudo make install
CMAKE_LIBRARY_PATH=/opt/OpenBLAS/include:/opt/OpenBLAS/lib:$CMAKE_LIBRARY_PATH luarocks install torch

 

相关文章:

  • 2022-02-11
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-25
  • 2021-12-31
  • 2022-12-23
  • 2021-12-12
  • 2021-11-30
  • 2021-06-22
  • 2022-03-09
相关资源
相似解决方案