Complete implementation but runtime failing

This commit is contained in:
2023-11-01 17:58:17 +01:00
parent 296ed6b785
commit ee9d5e738c
8 changed files with 51 additions and 9 deletions

View File

@@ -4,5 +4,5 @@ include_directories(${Python3_INCLUDE_DIRS})
add_executable(main main.cc STree.cc SVC.cc PyClassifier.cc PyWrap.cc)
add_executable(example example.cpp)
target_link_libraries(main ${Python3_LIBRARIES} "${TORCH_LIBRARIES}" ArffFiles)
target_link_libraries(main ${Python3_LIBRARIES} "${TORCH_LIBRARIES}" ${LIBTORCH_PYTHON} ArffFiles)
target_link_libraries(example "${TORCH_LIBRARIES}" ArffFiles)