We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it throw: Torch Script Not found: torch;torch_library;C10_LIBRARY
code: cmake_minimum_required(VERSION 3.5) project(HappySugarLife)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_PREFIX_PATH ${Torch_DIR})
find_package(Torch REQUIRED)
set(SOURCE_FILES main.cpp) set(Torch_DIR libtorch/share/cmake/Torch)
add_executable( HappySugarLife ${SOURCE_FILES} libtorch/lib) target_link_libraries( HappySugarLife "${TORCH_LIBRARIES}")
Here are the solution that I have tried: pytorch/pytorch#12449 hughperkins/pytorch#36 pytorch/pytorch#17479 nagadomi/waifu2x#253 (comment) pytorch/pytorch#14684 https://discuss.pytorch.org/t/cmake-problem-minimal-example-for-c-frontend/44286/3 All failed to slove this problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
it throw: Torch Script Not found: torch;torch_library;C10_LIBRARY
code:
cmake_minimum_required(VERSION 3.5)
project(HappySugarLife)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_PREFIX_PATH ${Torch_DIR})
find_package(Torch REQUIRED)
set(SOURCE_FILES main.cpp)
set(Torch_DIR libtorch/share/cmake/Torch)
add_executable( HappySugarLife ${SOURCE_FILES} libtorch/lib)
target_link_libraries( HappySugarLife "${TORCH_LIBRARIES}")
Here are the solution that I have tried:
pytorch/pytorch#12449
hughperkins/pytorch#36
pytorch/pytorch#17479
nagadomi/waifu2x#253 (comment)
pytorch/pytorch#14684
https://discuss.pytorch.org/t/cmake-problem-minimal-example-for-c-frontend/44286/3
All failed to slove this problem.
The text was updated successfully, but these errors were encountered: