1 1 TMVA_CNN_Classificaton:0: RuntimeWarning: Skip using PyTorch since torch is not installed Running with nthreads = 8 DataSetInfo : [dataset] : Added class "Signal" : Add Tree sig_tree of type Signal with 5000 events DataSetInfo : [dataset] : Added class "Background" : Add Tree bkg_tree of type Background with 5000 events : Dataset[dataset] : Class index : 0 name : Signal : Dataset[dataset] : Class index : 1 name : Background Info in : Building convolutional keras model WARNING:tensorflow:From /opt/vitis_ai/conda/envs/vitis-ai-tensorflow/lib/python3.6/site-packages/tensorflow_core/python/keras/initializers.py:94: calling TruncatedNormal.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor WARNING:tensorflow:From /opt/vitis_ai/conda/envs/vitis-ai-tensorflow/lib/python3.6/site-packages/tensorflow_core/python/ops/resource_variable_ops.py:1630: calling BaseResourceVariable.__init__ (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version. Instructions for updating: If using Keras pass *_constraint arguments to layers. WARNING:tensorflow:From /opt/vitis_ai/conda/envs/vitis-ai-tensorflow/lib/python3.6/site-packages/tensorflow_core/python/ops/nn_impl.py:183: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.where in 2.0, which has the same broadcast rule as np.where 2022-12-08 12:12:27.093304: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 2022-12-08 12:12:27.121935: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1999965000 Hz 2022-12-08 12:12:27.122891: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x560dbdfe51d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2022-12-08 12:12:27.122927: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= reshape (Reshape) (None, 16, 16, 1) 0 _________________________________________________________________ conv2d (Conv2D) (None, 16, 16, 10) 100 _________________________________________________________________ conv2d_1 (Conv2D) (None, 16, 16, 10) 910 _________________________________________________________________ max_pooling2d (MaxPooling2D) (None, 8, 8, 10) 0 _________________________________________________________________ flatten (Flatten) (None, 640) 0 _________________________________________________________________ dense (Dense) (None, 64) 41024 _________________________________________________________________ dense_1 (Dense) (None, 2) 130 ================================================================= Total params: 42,164 Trainable params: 42,164 Non-trainable params: 0 _________________________________________________________________ Info in : Booking convolutional keras model Factory : Booking method: PyKeras : : Setting up keras with : : ***> abort program execution Traceback (most recent call last): File "tutorial_new.py", line 391, in 'H:!V:VarTransform=None:FilenameModel=model_cnn.h5:FilenameTrainedModel=trained_model_cnn.h5:NumEpochs=10:BatchSize=100') TypeError: none of the 3 overloaded methods succeeded. Full details: TMVA::MethodBase* TMVA::Factory::BookMethod(TMVA::DataLoader* loader, TString theMethodName, TString methodTitle, TString theOption = "") => TypeError: could not convert argument 2 TMVA::MethodBase* TMVA::Factory::BookMethod(TMVA::DataLoader* loader, TMVA::Types::EMVA theMethod, TString methodTitle, TString theOption = "") => runtime_error: FATAL error TMVA::MethodBase* TMVA::Factory::BookMethod(TMVA::DataLoader*, TMVA::Types::EMVA, TString, TString, TMVA::Types::EMVA, TString) => TypeError: takes at least 6 arguments (4 given)