HED CPP:使用Torchscript的HED模型的C ++实现 源码
hed-cpp 依存关系 Libtorch 1.7.1 OpenCV 4.5.1 CMake 3.0或更高 Microsoft Visual Studio 2019 设置 git clone https://github.com/michelle-aubin/hed-cpp.git cd hed-cpp mkdir build cd build cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch .. cmake --build . --config Release 将/path/to/libtorch更改为Libtorch安装的完整路径。如果尚未安装Libtorch,则可以在安装。 运行应用程序 cd Release .\test-hed.exe [torchscript model] [image file] [torchscript model
下载地址
用户评论