Skip to content

Commit 2e28217

Browse files
authored
[tmva] Fix tutorials for failures seen in CI (root-project#11185)
We need to veto RegressionKeras.py since it is to oslow in evaluating the model, since it is doing on an event by event base
1 parent e756a31 commit 2e28217

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tutorials/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,9 @@ if(ROOT_pyroot_FOUND)
693693
if(NOT PY_KERAS_FOUND)
694694
file(GLOB tmva_veto_py RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tmva/keras/*.py)
695695
list(APPEND pyveto ${tmva_veto_py})
696+
else()
697+
list(APPEND pyveto tmva/keras/RegressionKeras.py)
698+
list(APPEND pyveto tmva/keras/ApplicationRegressionKeras.py)
696699
endif()
697700

698701
find_python_module(torch QUIET)

tutorials/tmva/TMVA_SOFIE_RDataFrame.C

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ using namespace TMVA::Experimental;
2525
// need to add the current directory (from where we are running this macro)
2626
// to the include path for Cling
2727
R__ADD_INCLUDE_PATH($PWD)
28+
R__ADD_INCLUDE_PATH($ROOTSYS/runtutorials)
2829
#include "Higgs_trained_model.hxx"
2930
#include "TMVA/SOFIEHelpers.hxx"
3031

0 commit comments

Comments
 (0)