keras报错

ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’ (/opt/conda/envs/Python3/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py)

解决方法:

pip install keras==2.3.1

你可能感兴趣的:(python,keras,python,tensorflow)