[Torch]提示torch.inverse错误
时间:2018-06-17 17:40:58
收藏:0
阅读:462
来源: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
原文:https://www.cnblogs.com/hcbin/p/9193121.html
评论(0)