We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TestSofieModels
onnx
1 parent e2a3801 commit 6499c7bCopy full SHA for 6499c7b
tmva/sofie/test/CMakeLists.txt
@@ -118,7 +118,9 @@ endif()
118
# gtest
119
# Look for needed python modules
120
find_python_module(torch QUIET)
121
-if(PY_TORCH_FOUND)
+find_python_module(onnx QUIET)
122
+
123
+if(PY_TORCH_FOUND AND PY_ONNX_FOUND)
124
configure_file(Conv1dModelGenerator.py Conv1dModelGenerator.py COPYONLY)
125
configure_file(Conv2dModelGenerator.py Conv2dModelGenerator.py COPYONLY)
126
configure_file(Conv3dModelGenerator.py Conv3dModelGenerator.py COPYONLY)
0 commit comments