Home | News | Documentation | Download

New version of Keras and conflict with TMVA!

tensorflow 2.2.0
Keras 2.4.3 [2.3.0 OK]

running tutorial
tutorials/tmva/keras/RegressionKeras.py
bugs

ImportError: cannot import name 'tensorflow_backend' from 'keras.backend' (/usr/local/lib/python3.8/site-packages/keras/backend.py)

and I thinks the TMVA method PyKeras should have a function check Keras and tensor flow version so that it would not run if version is not right

Hi,
can you use keras+tensorflow at all (i.e. without tmva involved)?
As far as I can tell this is a problem with keras+tensorflow. I don’t think it’s too unreasonable if ROOT assumes the environment is sane if keras is found.

Cheers,
Enrico

of course yes, just a potential bug report for future use