/home/cht/anaconda3/envs/tf/lib/python3.6/importlib/_bootstrap.py:219:
RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
解决方法
进入https://github.com/lakshayg/tensorflow-build
下载版本所需的whl文件
不要忘了–ignore-installed
pip install --ignore-installed ***.whl
AttributeError: module 'tensorflow.python.keras' has no attribute 'Model'
后面model的问题还没解决
我在windows下跑没问题 tensorflow==1.12