Error in ClassificationKeras.py

Hi experts,

I tried to run the Keras example (ClassificationKeras.py) in the tutorial, but I always get an error:

AttributeError: module ‘keras._tf_keras.keras.backend’ has no attribute ‘set_session’. Did you mean: ‘set_epsilon’?

I guess the new version of Tensorflow has removed this attribute. I installed Tensorflow by pip and its version is 2.16.1 (Keras version is 3.3.3).

The ROOT I am using is version 6.30/06 installed by Homebrew.

Does anybody know which version of Tensorflow was used to test this example?

Zhijie

Welcome to the ROOT Forum!
I think @moneta can help