文件名称:Hello-Torch:LibTorch学习〜
文件大小:7KB
文件格式:ZIP
更新时间:2024-05-09 10:43:23
C++
你好火炬 LibTorch安装 // if only cpu wget https: // download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.7.1+cpu.zip // if gpu with nvidia driver and cuda wget https: // download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.1+cu110.zip unzip libtorch-shared-with-deps- 1.7.1 +cu110.zip export TORCH_DIR=/path/to/libtorch export LD_LIBRARY_PATH=/path/to/libtorch/lib:$LD_LIBRARY_PAT
【文件预览】:
Hello-Torch-master
----networks()
--------deeplab_resnet.h(1KB)
--------deeplab_resnet.cpp(4KB)
----hellotorch.cpp(3KB)
----examples()
--------resnet.h(1KB)
--------resnet.cpp(3KB)
----.gitignore(27B)
----CMakeLists.txt(467B)
----README.md(1KB)