一、下载并解压libtorch压缩包
或者终端执行命令(稳定版):
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.5.0%2Bcpu.zip
将压缩包放至home,解压:
unzip libtorch-cxx11-abi-shared-with-deps-1.5.0+cpu.zip.1
二、调用:
一、下载并解压libtorch压缩包
或者终端执行命令(稳定版):
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.5.0%2Bcpu.zip
将压缩包放至home,解压:
unzip libtorch-cxx11-abi-shared-with-deps-1.5.0+cpu.zip.1
二、调用: