I was using TMVA and pyTMVA from my locally installed ROOT to run TensorFlow, and train models. It was working great, and I was able to apply the models using the variables in my root branches. Then I (foolishly) updated my TensorFlow via pip, and I keep getting this error:
module ‘keras._tf_keras.keras.backend’ has no attribute 'set_session
whenever I try training new models in ROOT TMVA, or when I want to apply my models and get a Keras output. Anyone have an idea on how to fix it? After Googling around a bit, people online are saying the latest version of TensorFlow got rid of get_session()? But how do I remove this? Thank you for any help, it’s much appreciated…