Hi everyone,
When trying to make, I got the following error:
CMake Warning at CMakeLists.txt:48 (FIND_PACKAGE):
By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Torch", but
CMake did not find one.
Could not find a package configuration file provided by "Torch" with any of
the following names:
TorchConfig.cmake
torch-config.cmake
Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
"Torch_DIR" to a directory containing one of the above files. If "Torch"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at CMakeLists.txt:98 (INSTALL):
INSTALL TARGETS given no LIBRARY DESTINATION for shared library target
"warpctc".
CMake Error at CMakeLists.txt:106 (ADD_TORCH_PACKAGE):
Unknown CMake command "ADD_TORCH_PACKAGE".
Hi everyone, When trying to make, I got the following error:
I did the following to solve it:
export Torch_DIR=~/.conda/envs/course_work/lib/python3.7/site-packages/torch/share/cmake/Torch
Then I got the following error:
Kindly help.